adjust `raco ctool --c-mods' and related to work with places

That is, the generated declare_modules() function registers the
module-declaration code so that it is run in any new place, too.

Merge to 5.2.1

original commit: 481e061440
This commit is contained in:
Matthew Flatt 2012-01-19 13:12:38 -07:00
parent aae4950f02
commit 90583ce572
2 changed files with 8 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@
(define rst-start (file-position port))
(file-position port (+ rst-start size*))
(unless (eof-object? (read-byte port))
(error 'zo-parse "File too big"))

View File

@ -0,0 +1,7 @@
#lang racket/base
(require racket/place)
(provide go)
(define (go ch)
(place-channel-put ch 42))