Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit fc8dd3c

Browse files
committed
Remove -O0 that is not a valid flag and not needed to work-around EIR bug anymore
1 parent 7ad00f9 commit fc8dd3c

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

lumen/tests/cli.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ mod cli {
7777
command
7878
.arg("compile")
7979
.arg("--output")
80-
.arg("tests/_build/cli")
81-
// Turn off optimizations as work-around for debug info bug in EIR
82-
.arg("-O0");
80+
.arg("tests/_build/cli");
8381

8482
let compile_output = command
8583
.arg("tests/cli/init.erl")

lumen/tests/global_dynamic.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ fn compile() {
3838
command
3939
.arg("compile")
4040
.arg("--output")
41-
.arg("tests/_build/global_dynamic")
42-
// Turn off optimizations as work-around for debug info bug in EIR
43-
.arg("-O0");
41+
.arg("tests/_build/global_dynamic");
4442

4543
let compile_output = command
4644
.arg("tests/global_dynamic/init.erl")

lumen/tests/hello_world.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ mod hello_world {
1010
command
1111
.arg("compile")
1212
.arg("--output")
13-
.arg("tests/_build/hello_world")
14-
// Turn off optimizations as work-around for debug info bug in EIR
15-
.arg("-O0");
13+
.arg("tests/_build/hello_world");
1614

1715
let compile_output = command
1816
.arg("tests/hello_world/init.erl")

0 commit comments

Comments
 (0)