]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38061 - cardoe:target-spec, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 3 Dec 2016 14:21:51 +0000 (14:21 +0000)
committerbors <bors@rust-lang.org>
Sat, 3 Dec 2016 14:21:51 +0000 (14:21 +0000)
commit890085450a495678622178a471afd630fe15f0f5
tree0b7b4e3ffb7c6116559ce802f374d1e20c14dbae
parent9a101d8987ea66795db6623f42788db856e7efc8
parent7151b5ad7821dc7c1990af0bd2850fcbcbe100e7
Auto merge of #38061 - cardoe:target-spec, r=alexcrichton

print option to dump target spec as JSON

This lets the user dump out the target spec that the compiler is using. This is useful to people defining their own target.json to compare it against existing targets or understand how different targets change internal settings. It is also potentially useful for Cargo to determine if something has changed with a target and it needs to rebuild things.