When trying to write or interpret cfg statements like e.g.
#[cfg(all(unix, not(target_arch = "wasm32")))]
from the atty crate,
I am sometimes unsure what exactly unix means here. (Apparently it includes wasm?)
Is there a full list of what rust compiler targets are in what target-family?
The cfg doc in the rust reference does not seem to have one.
Rust nightly now has
--print all-target-specs-json, which has this information. Onrustc 1.72.0-nightly (8c74a5d27 2023-06-14), I was able to gather the following output using