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
|
@ -441,7 +441,7 @@ fn try_intrinsic<'ll>(
|
|||
bx.store(bx.const_i32(0), dest, ret_align);
|
||||
} else if wants_msvc_seh(bx.sess()) {
|
||||
codegen_msvc_try(bx, try_func, data, catch_func, dest);
|
||||
} else if bx.sess().target.is_like_emscripten {
|
||||
} else if bx.sess().target.os == "emscripten" {
|
||||
codegen_emcc_try(bx, try_func, data, catch_func, dest);
|
||||
} else {
|
||||
codegen_gnu_try(bx, try_func, data, catch_func, dest);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue