You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to improve link times and iteration speed. However, this seems to break linkme compilation, badly.
Here's a snippet from the error message during compilation:
= note: ld.lld: error: undefined symbol: __start_linkme_BENCHMARKS
>>> referenced by 29qlfu0bgl5pi1ii
>>> /home/meatball/coding/linkme/target/debug/deps/example-d6ac051010cd24ec.29qlfu0bgl5pi1ii.rcgu.o:(example::BENCHMARKS::h84fb1b0801cd0cb3)
>>> the encapsulation symbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://lld.llvm.org/ELF/start-stop-gc)
ld.lld: error: undefined symbol: __stop_linkme_BENCHMARKS
>>> referenced by 29qlfu0bgl5pi1ii
>>> /home/meatball/coding/linkme/target/debug/deps/example-d6ac051010cd24ec.29qlfu0bgl5pi1ii.rcgu.o:(example::BENCHMARKS::h84fb1b0801cd0cb3)
ld.lld: error: undefined symbol: __start_linkm2_BENCHMARKS
>>> referenced by 29qlfu0bgl5pi1ii
>>> /home/meatball/coding/linkme/target/debug/deps/example-d6ac051010cd24ec.29qlfu0bgl5pi1ii.rcgu.o:(example::BENCHMARKS::h84fb1b0801cd0cb3)
>>> the encapsulation symbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://lld.llvm.org/ELF/start-stop-gc)
ld.lld: error: undefined symbol: __stop_linkm2_BENCHMARKS
>>> referenced by 29qlfu0bgl5pi1ii
>>> /home/meatball/coding/linkme/target/debug/deps/example-d6ac051010cd24ec.29qlfu0bgl5pi1ii.rcgu.o:(example::BENCHMARKS::h84fb1b0801cd0cb3)
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
In my
~/.cargo/config.toml
, I have the following entry:to improve link times and iteration speed. However, this seems to break linkme compilation, badly.
Here's a snippet from the error message during compilation:
The text was updated successfully, but these errors were encountered: