Skip to content

Commit a0485cb

Browse files
committed
fix build for module name resolver cache change
The xform bootstrap sets `current-library-collections-path` without changing the namespace, which is a bad idea that was exposed by the module name resolved cache change (commit a7ad0e3).
1 parent 02bc905 commit a0485cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

racket/src/racket/gc2/xform.rkt

+5
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@
103103
(use-compiled-file-paths '("compiled"))
104104

105105
(current-library-collection-paths (list (build-path (build-path (current-directory) rel-dir) "xform-collects")))
106+
107+
(let ([ns (make-empty-namespace)])
108+
(dynamic-require ''#%builtin #f)
109+
(namespace-attach-module (current-namespace) ''#%builtin ns)
110+
(current-namespace ns))
106111

107112
(error-print-width 100)
108113

0 commit comments

Comments
 (0)