File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ //go:build !glj_no_aot_stdlib
2+
3+ package glj
4+
5+ import (
6+ // Add NS loaders for the standard library.
7+ _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/core"
8+ _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/core/async"
9+ _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/go/io"
10+ _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/protocols"
11+ )
Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ import (
88 _ "github.com/glojurelang/glojure/pkg/gen/gljimports"
99 "github.com/glojurelang/glojure/pkg/lang"
1010
11- // Add NS loaders for the standard library.
12- _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/core"
13- _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/core/async"
14- _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/go/io"
15- _ "github.com/glojurelang/glojure/pkg/stdlib/glojure/protocols"
16-
1711 "github.com/glojurelang/glojure/pkg/runtime"
1812)
1913
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ func NewEnvironment(opts ...EvalOption) lang.Environment {
120120 // Workaround to ensure namespaces that are required by core are loaded.
121121 // TODO: AOT should identify this dependency and generate code to load it.
122122 if useAot {
123- RT .Load ("glojure/core/ protocols" )
123+ RT .Load ("glojure/protocols" )
124124 RT .Load ("glojure/string" )
125125 RT .Load ("glojure/go/io" )
126126 }
You can’t perform that action at this time.
0 commit comments