rustc_target: Remove some redundant target properties
This commit is contained in:
parent
0cb9899e78
commit
37fd2941a1
9 changed files with 11 additions and 20 deletions
|
@ -906,7 +906,7 @@ impl<'ll> CodegenCx<'ll, '_> {
|
|||
return eh_catch_typeinfo;
|
||||
}
|
||||
let tcx = self.tcx;
|
||||
assert!(self.sess().target.is_like_emscripten);
|
||||
assert!(self.sess().target.os == "emscripten");
|
||||
let eh_catch_typeinfo = match tcx.lang_items().eh_catch_typeinfo() {
|
||||
Some(def_id) => self.get_static(def_id),
|
||||
_ => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue