about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-12-14 22:10:04 +0800
committerGitHub <noreply@github.com>2018-12-14 22:10:04 +0800
commit4f0f1102bfa20352b8afdb39ece2a3823bb0cae9 (patch)
tree5514a9dc644ed68666987eaac38ba69ba0177262 /src/libstd/sys
parentf4b07e0713b2d82417968db08cd0575734cdac0d (diff)
parent86822eb9404382eb82404a2c7b9193980fdd5296 (diff)
downloadrust-4f0f1102bfa20352b8afdb39ece2a3823bb0cae9.tar.gz
rust-4f0f1102bfa20352b8afdb39ece2a3823bb0cae9.zip
Rollup merge of #56609 - michaelwoerister:unconditional-target-cpu-attr, r=alexcrichton
Unconditionally emit the target-cpu LLVM attribute.

This PR makes `rustc` always emit the `target-cpu` LLVM attribute for functions. The goal is to allow for cross-language inlining of functions defined in `libstd`. So far `libstd` functions were the only function without a `target-cpu` attribute, so in whole-crate-graph cross-lang LTO scenarios they were not eligible for inlining into foreign code.

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