allow wasm_c_abi in proc_macro bridge

This commit is contained in:
Ralf Jung 2025-03-22 18:42:01 +01:00
parent 072ccce553
commit 61e24e630d

View file

@ -7,6 +7,10 @@
//! Rust ABIs (e.g., stage0/bin/rustc vs stage1/bin/rustc during bootstrap).
#![deny(unsafe_code)]
// proc_macros anyway don't work on wasm hosts so while both sides of this bridge can
// be built with different versions of rustc, the wasm ABI changes don't really matter.
#![cfg_attr(bootstrap, allow(unknown_lints))]
#![allow(wasm_c_abi)]
use std::hash::Hash;
use std::ops::{Bound, Range};