Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upcheck for std symbols #2
Comments
This comment has been minimized.
This comment has been minimized.
|
I explored that route, but ultimately got stuck on isolating the binary part out of the I'm generally pro doing that, though most likely as an optional thing if it requires |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gnzlbg commentedNov 12, 2018
Test whether the final rlib or binary contain any
stdsymbols or not.The
llvm-tools-previewcomponent contains anllvm-nmthat can be used to list all symbols in a binary, and thecargo-binutilssub-command can be used to find the appropriatellvm-nmbinary for the current toolchain (https://internals.rust-lang.org/t/llvm-tools-a-new-rustup-component-for-binary-inspection-objdump-nm-size-and-profiling-profdata/7830/9).With that one can check whether the final binary contains any
stdlibrary symbols, a check that must pass independently of what all other checks say.