Failed linking to a library that uses inline assembly with asm_sym
feature
#104925
Labels
C-bug
Category: This is a bug.
asm_sym
feature
#104925
What does not work
I tried this code:
I expected to see this happen: output
5 + 18 = 23
Instead, this happened:
What works
#[no_mangle]
:#[inline(never)]
:pub static
:Meta
rustc --version --verbose
:mold --version
:Also tried with
ld
linker, got the same error.The text was updated successfully, but these errors were encountered: