about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-11 12:55:44 +0100
committerGitHub <noreply@github.com>2023-03-11 12:55:44 +0100
commitd4754edc2802da85bf9ed269aae45dafca01de9d (patch)
treea5e5c78166844ca41a8a6c784cebf3736a28a761 /compiler/rustc_errors/src/json.rs
parent5e52ada714a46b6150e78c7c5a2ff7178a2d79d3 (diff)
parent3455d66041eb1d766814b57608d7ae8f20c8b04e (diff)
downloadrust-d4754edc2802da85bf9ed269aae45dafca01de9d.tar.gz
rust-d4754edc2802da85bf9ed269aae45dafca01de9d.zip
Rollup merge of #108949 - Urgau:check-cfg-target-json, r=oli-obk
Honor current target when checking conditional compilation values

This is fixed by simply using the currently registered target in the current session. We need to use it because of target json that are not by design included in the rustc list of targets.

Fixes https://github.com/rust-lang/rust/issues/108941
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions