Skip to content

Commit 2081cf5

Browse files
doinkythederpTropix126
authored andcommitted
serialize is_like_vexos in target json specs
1 parent 9f5c3f7 commit 2081cf5

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+2
-0
lines changed

compiler/rustc_target/src/spec/json.rs

+2
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ impl Target {
571571
key!(is_like_msvc, bool);
572572
key!(is_like_wasm, bool);
573573
key!(is_like_android, bool);
574+
key!(is_like_vexos, bool);
574575
key!(default_dwarf_version, u32);
575576
key!(allows_weak_linkage, bool);
576577
key!(has_rpath, bool);
@@ -746,6 +747,7 @@ impl ToJson for Target {
746747
target_option_val!(is_like_msvc);
747748
target_option_val!(is_like_wasm);
748749
target_option_val!(is_like_android);
750+
target_option_val!(is_like_vexos);
749751
target_option_val!(default_dwarf_version);
750752
target_option_val!(allows_weak_linkage);
751753
target_option_val!(has_rpath);

0 commit comments

Comments
 (0)