pub fn get( config: QueryConfig<'_>, target: Option<&str>, extra_env: &FxHashMap<String, String>, ) -> Result<String>
Uses rustc --print target-spec-json.
rustc --print target-spec-json