Skip to content

Commit 61e24e6

Browse files
committed
allow wasm_c_abi in proc_macro bridge
1 parent 072ccce commit 61e24e6

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+
// proc_macros anyway don't work on wasm hosts so while both sides of this bridge can
11+
// be built with different versions of rustc, the wasm ABI changes don't really matter.
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)