File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
13
13
# 11.1.3-rc.1
14
14
15
+ #### :bug : Bug Fix
16
+
17
+ - Omit standard library dir from load path if -nostdlib is set. https://github.com/rescript-lang/rescript-compiler/pull/6833
18
+
15
19
# 11.1.2
16
20
17
21
#### :bug : Bug Fix
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ let init_path () =
27
27
let exp_dirs =
28
28
List. map (Misc. expand_directory Config. standard_library) dirs
29
29
in
30
- Config. load_path := List. rev_append exp_dirs [Config. standard_library];
30
+ Config. load_path :=
31
+ if ! Js_config. no_stdlib then exp_dirs
32
+ else (List. rev_append exp_dirs [Config. standard_library]);
31
33
Env. reset_cache ()
32
34
33
35
(* Return the initial environment in which compilation proceeds. *)
You can’t perform that action at this time.
0 commit comments