Prints out the current target json
$ rustc --print target-list
$ rustc +nightly -Z unstable-options --print target-spec-json --target x86_64-unknown-linux-gnuTo add a target json to your project create a file in at .cargo/config:
[build]
target = "x86_64-unknown-linux-gnu-asd.json"