@@ -1271,12 +1271,6 @@ pub struct TargetOptions {
12711271 /// - uses SEH-based unwinding,
12721272 /// - supports control flow guard mechanism.
12731273 pub is_like_msvc : bool ,
1274- /// Whether the target toolchain is like Emscripten's. Only useful for compiling with
1275- /// Emscripten toolchain.
1276- /// Defaults to false.
1277- pub is_like_emscripten : bool ,
1278- /// Whether the target toolchain is like Fuchsia's.
1279- pub is_like_fuchsia : bool ,
12801274 /// Whether a target toolchain is like WASM.
12811275 pub is_like_wasm : bool ,
12821276 /// Version of DWARF to use if not using the default.
@@ -1503,9 +1497,7 @@ impl Default for TargetOptions {
15031497 is_like_osx : false ,
15041498 is_like_solaris : false ,
15051499 is_like_windows : false ,
1506- is_like_emscripten : false ,
15071500 is_like_msvc : false ,
1508- is_like_fuchsia : false ,
15091501 is_like_wasm : false ,
15101502 dwarf_version : None ,
15111503 linker_is_gnu : true ,
@@ -2110,8 +2102,6 @@ impl Target {
21102102 key ! ( is_like_solaris, bool ) ;
21112103 key ! ( is_like_windows, bool ) ;
21122104 key ! ( is_like_msvc, bool ) ;
2113- key ! ( is_like_emscripten, bool ) ;
2114- key ! ( is_like_fuchsia, bool ) ;
21152105 key ! ( is_like_wasm, bool ) ;
21162106 key ! ( dwarf_version, Option <u32 >) ;
21172107 key ! ( linker_is_gnu, bool ) ;
@@ -2358,8 +2348,6 @@ impl ToJson for Target {
23582348 target_option_val ! ( is_like_solaris) ;
23592349 target_option_val ! ( is_like_windows) ;
23602350 target_option_val ! ( is_like_msvc) ;
2361- target_option_val ! ( is_like_emscripten) ;
2362- target_option_val ! ( is_like_fuchsia) ;
23632351 target_option_val ! ( is_like_wasm) ;
23642352 target_option_val ! ( dwarf_version) ;
23652353 target_option_val ! ( linker_is_gnu) ;
0 commit comments