about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-29 02:40:49 +0100
committerGitHub <noreply@github.com>2019-03-29 02:40:49 +0100
commit3df97f9da8e4a23772f5845bc641adae03e032be (patch)
tree0f8e70dbf49cec5550bda9b668f4be04b58a4371 /src/libstd/sys/unix/stack_overflow.rs
parentf9262afa4d1a88715ff57907bd17eda4d039cea6 (diff)
parent7d365cf27f4249fc9b61ba8abfc813abe43f1cb7 (diff)
downloadrust-3df97f9da8e4a23772f5845bc641adae03e032be.tar.gz
rust-3df97f9da8e4a23772f5845bc641adae03e032be.zip
Rollup merge of #59401 - japaric:compiler-builtins-stack-sizes, r=alexcrichton
bootstrap: build crates under libtest with -Z emit-stack-sizes

Please see the comment in the diff for the rationale.

This change adds a `.stack_sizes` linker section to `libcompiler_builtins.rlib`
but this section is discarded by the linker by default so it won't affect the
binary size of most programs. It will, however, negatively affect the binary
size of programs that link to a recent release of the `cortex-m-rt` crate
because of the linker script that crate provides, but I have proposed a PR
(rust-embedded/cortex-m-rt#186) to solve the problem (which I originally
introduced :-)).

This change does increase the size of the `libcompiler_builtins.rlib` artifact we
distribute but the increase is in the order of (a few) KBs.

r? @alexcrichton
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions