This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ def v(*args):
59
59
o ("use-libcxx" , "llvm.use-libcxx" , "build LLVM with libc++" )
60
60
o ("control-flow-guard" , "rust.control-flow-guard" , "Enable Control Flow Guard" )
61
61
o ("patch-binaries-for-nix" , "build.patch-binaries-for-nix" , "whether patch binaries for usage with Nix toolchains" )
62
+ o ("new-symbol-mangling" , "rust.new-symbol-mangling" , "use symbol-mangling-version v0" )
62
63
63
64
v ("llvm-cflags" , "llvm.cflags" , "build LLVM with these extra compiler flags" )
64
65
v ("llvm-cxxflags" , "llvm.cxxflags" , "build LLVM with these extra compiler flags" )
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ ENV RUST_CONFIGURE_ARGS \
53
53
--build=x86_64-unknown-linux-gnu \
54
54
--llvm-root=/usr/lib/llvm-15 \
55
55
--enable-llvm-link-shared \
56
- --set rust.thin-lto-import-instr-limit=10
56
+ --set rust.thin-lto-import-instr-limit=10 \
57
+ --enable-new-symbol-mangling
57
58
58
59
COPY host-x86_64/x86_64-gnu-llvm-15/script.sh /tmp/
59
60
Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ RUN npm install -g browser-ui-test@$(head -n 1 /tmp/browser-ui-test.version) --u
87
87
88
88
ENV RUST_CONFIGURE_ARGS \
89
89
--build=x86_64-unknown-linux-gnu \
90
- --save-toolstates=/tmp/toolstate/toolstates.json
90
+ --save-toolstates=/tmp/toolstate/toolstates.json \
91
+ --enable-new-symbol-mangling
91
92
92
93
ENV HOST_TARGET x86_64-unknown-linux-gnu
93
94
You can’t perform that action at this time.
0 commit comments