enabling "time" feature under -Ctarget-feature=+crt-static
and -Zbuild-std=std,panic_abort
causes a linker error
#5376
Labels
A-tokio
Area: The main tokio crate
Version
tokio v1.24.1
rustc 1.68.0-nightly (0b90256ad 2023-01-13)
Platform
Linux 6.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 07 Jan 2023 15:10:07 +0000 x86_64 GNU/Linux
Description
enabling "time" feature under
-Ctarget-feature=+crt-static
and-Zbuild-std=std,panic_abort
causes a linker error. It seems that there are conflict symbols between libgcc.a and libcompiler_builtins.rlib.I tried this code:
build command:
I expected to see this happen: successfully compiled
Instead, this happened:
The text was updated successfully, but these errors were encountered: