cxx icon indicating copy to clipboard operation
cxx copied to clipboard

Docs: required info to build via Bazel in external repo

Open jon-chuang opened this issue 4 years ago • 1 comments

rustc requires linker

Alternatively, these flags should be passed into the rust_binary rule

jon-chuang avatar Nov 27 '21 07:11 jon-chuang

I suspect it depends on your toolchain and which cxx features you use. Some toolchains will use a linker that doesn't care about the order by default, and some very minimal uses of cxx don't have the circular linking order either. #1069 adds more explicit documentation about the problem.

bsilver8192 avatar Oct 11 '23 22:10 bsilver8192