diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-03-03 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-03-04 16:57:34 +0100 |
| commit | 095d818e0c9c2428e11287e918c38bb6c487e6ed (patch) | |
| tree | 6869e5b21fba14afaa35071cee12b541c20ad9ce /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | b6f845f22524c161d94ab37d630086780c4aabc1 (diff) | |
| download | rust-095d818e0c9c2428e11287e918c38bb6c487e6ed.tar.gz rust-095d818e0c9c2428e11287e918c38bb6c487e6ed.zip | |
Always include global target features in function attributes
This ensures that information about target features configured with `-C target-feature=...` or detected with `-C target-cpu=native` is retained for subsequent consumers of LLVM bitcode. This is crucial for linker plugin LTO, since this information is not conveyed to the plugin otherwise.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
