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 (
8
8
_ "github.com/glojurelang/glojure/pkg/gen/gljimports"
9
9
"github.com/glojurelang/glojure/pkg/lang"
10
10
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
-
17
11
"github.com/glojurelang/glojure/pkg/runtime"
18
12
)
19
13
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ func NewEnvironment(opts ...EvalOption) lang.Environment {
120
120
// Workaround to ensure namespaces that are required by core are loaded.
121
121
// TODO: AOT should identify this dependency and generate code to load it.
122
122
if useAot {
123
- RT .Load ("glojure/core/ protocols" )
123
+ RT .Load ("glojure/protocols" )
124
124
RT .Load ("glojure/string" )
125
125
RT .Load ("glojure/go/io" )
126
126
}
You can’t perform that action at this time.
0 commit comments