about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-06 17:48:46 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-06 19:52:21 -0700
commitd4dec4701a5e5e6fb4f66c838b9646bc1c1f711b (patch)
treed45e6aa93223abfa66b32b8dd98f57a346e5cb55 /src/test/codegen/stack-alloc-string-slice.rs
parentcb12e7ab743e4a0118a3de53a437a70cf332e5b1 (diff)
downloadrust-d4dec4701a5e5e6fb4f66c838b9646bc1c1f711b.tar.gz
rust-d4dec4701a5e5e6fb4f66c838b9646bc1c1f711b.zip
rustc: Preserve reachable extern fns with LTO
All rust functions are internal implementation details with respect to the ABI
exposed by crates, but extern fns are public components of the ABI and shouldn't
be stripped. This commit serializes reachable extern fns to metadata, so when
LTO is performed all of their symbols are not stripped.

Closes #14500
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions