Skip to content

Commit a75a841

Browse files
committed
allow wasm_c_abi in proc_macro bridge
1 parent 3301e0e commit a75a841

File tree

1 file changed

+4
-0
lines changed
  • library/proc_macro/src/bridge

1 file changed

+4
-0
lines changed

library/proc_macro/src/bridge/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
//! Rust ABIs (e.g., stage0/bin/rustc vs stage1/bin/rustc during bootstrap).
88
99
#![deny(unsafe_code)]
10+
// We rely on both sides of the bridge to be built with the same rustc,
11+
// so that the wasm ABI transition will not affect us.
12+
#![cfg_attr(bootstrap, allow(unknown_lints))]
13+
#![allow(wasm_c_abi)]
1014

1115
use std::hash::Hash;
1216
use std::ops::{Bound, Range};

0 commit comments

Comments
 (0)