Skip to content

Commit 809bb7f

Browse files
committed
remove symbol mangling hack
Now that we fixed the buffer overflow and found another way of generating smaller binaries, we no longer need to use the old symbol mangling scheme. The new symbol mangling was never really at fault. All it did was shuffle some of the symbols around resulting in a larger binary. We just got unlucky there.
1 parent 9bf2de2 commit 809bb7f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ fn build_bios_stage_2() -> PathBuf {
215215
cmd.env_remove("RUSTFLAGS");
216216
cmd.env_remove("CARGO_ENCODED_RUSTFLAGS");
217217
cmd.env_remove("RUSTC_WORKSPACE_WRAPPER"); // used by clippy
218-
cmd.env(
219-
"RUSTFLAGS",
220-
"-Csymbol-mangling-version=legacy -Zunstable-options",
221-
);
222218
let status = cmd
223219
.status()
224220
.expect("failed to run cargo install for bios second stage");

0 commit comments

Comments
 (0)