Skip to content

Commit

Permalink
Json encoding/decoding for is_like_emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Jan 20, 2017
1 parent 62c088c commit 24cb5b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_back/target/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ impl Target {
key!(is_like_solaris, bool);
key!(is_like_windows, bool);
key!(is_like_msvc, bool);
key!(is_like_emscripten, bool);
key!(is_like_android, bool);
key!(linker_is_gnu, bool);
key!(allows_weak_linkage, bool);
Expand Down Expand Up @@ -772,6 +773,7 @@ impl ToJson for Target {
target_option_val!(is_like_solaris);
target_option_val!(is_like_windows);
target_option_val!(is_like_msvc);
target_option_val!(is_like_emscripten);
target_option_val!(is_like_android);
target_option_val!(linker_is_gnu);
target_option_val!(allows_weak_linkage);
Expand Down

0 comments on commit 24cb5b7

Please sign in to comment.