diff options
| author | est31 <MTest31@outlook.com> | 2020-10-14 18:42:13 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2020-10-15 12:02:24 +0200 |
| commit | d683e3ac23a8f8b52cef07b4380845bbd1ef5e8f (patch) | |
| tree | e29bfbbf1e7538cc22ada967111fa542e73c05a9 /compiler/rustc_codegen_llvm/src | |
| parent | 4fa55787745ac71793253c47c4d6cd5ffe96b741 (diff) | |
| download | rust-d683e3ac23a8f8b52cef07b4380845bbd1ef5e8f.tar.gz rust-d683e3ac23a8f8b52cef07b4380845bbd1ef5e8f.zip | |
Remove rustc_session::config::Config
The wrapper type led to tons of target.target across the compiler. Its ptr_width field isn't required any more, as target_pointer_width is already present in parsed form.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/attributes.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/attributes.rs b/compiler/rustc_codegen_llvm/src/attributes.rs index b8ee3b4734f..2075c2e1911 100644 --- a/compiler/rustc_codegen_llvm/src/attributes.rs +++ b/compiler/rustc_codegen_llvm/src/attributes.rs @@ -174,7 +174,6 @@ pub fn llvm_target_features(sess: &Session) -> impl Iterator<Item = &str> { .split(',') .filter(|f| !RUSTC_SPECIFIC_FEATURES.iter().any(|s| f.contains(s))); sess.target - .target .options .features .split(',') |
