Experiment: Try making all compiler-builtins intrinsics weak symbols#113822
Experiment: Try making all compiler-builtins intrinsics weak symbols#113822Amanieu wants to merge 3 commits intorust-lang:masterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
|
The issue on Windows seems to be that weak symbols can be defined, but not dllexport'ed. This causes problems when building the standard library as a DLL since compiler_builtins is placed in it, and the rustc_driver DLL imports the compiler_builtins functions from it. |
|
Forwarding from rust-lang/compiler-builtins#546 (comment)
|
|
☔ The latest upstream changes (presumably #116196) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Closing this as it was an experiment |
This is an experiment to try making all compiler-builtins symbols weak by default. This should solve issues like rust-lang/compiler-builtins#353 and rust-lang/compiler-builtins#420 where our symbols conflict with those from libgcc/libclang_rt.
r? @ghost