diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-03-06 13:49:36 -0800 | 
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-05-31 12:36:01 -0700 | 
| commit | f57ed46bc6c9369a0fa9db1d53ed4f9a96696b7d (patch) | |
| tree | 5b77674cd3f942e1e2a31845744ea8222daf1d19 /compiler/rustc_target/src/json.rs | |
| parent | 9f8929fbeca4b5c2302b326606ae800156915840 (diff) | |
| download | rust-f57ed46bc6c9369a0fa9db1d53ed4f9a96696b7d.tar.gz rust-f57ed46bc6c9369a0fa9db1d53ed4f9a96696b7d.zip | |
compiler: add CanonAbi
Diffstat (limited to 'compiler/rustc_target/src/json.rs')
| -rw-r--r-- | compiler/rustc_target/src/json.rs | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/compiler/rustc_target/src/json.rs b/compiler/rustc_target/src/json.rs index 8d6f8f4c6f6..154a6700ce5 100644 --- a/compiler/rustc_target/src/json.rs +++ b/compiler/rustc_target/src/json.rs @@ -140,3 +140,9 @@ impl ToJson for rustc_abi::Endian { self.as_str().to_json() } } + +impl ToJson for rustc_abi::CanonAbi { + fn to_json(&self) -> Json { + self.to_string().to_json() + } +} | 
