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.
This commit is contained in:
parent
4fa5578774
commit
d683e3ac23
5 changed files with 12 additions and 24 deletions
|
@ -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(',')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue