Skip to content

Commit 15064a9

Browse files
committed
Remove private_no_mangle_static directives in generated code for latest
nightly
1 parent 41f1908 commit 15064a9

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/generate/device.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ pub fn render(d: &Device, target: &Target, nightly: bool, device_x: &mut String)
193193
// version)
194194
#[allow(renamed_and_removed_lints)]
195195
// This currently breaks on nightly, to be removed with the line above once 1.31 is stable
196-
#[allow(private_no_mangle_statics)]
197196
#[no_mangle]
198197
static mut DEVICE_PERIPHERALS: bool = false;
199198

src/generate/interrupt.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ pub fn render(
139139

140140
#[allow(renamed_and_removed_lints)]
141141
// This currently breaks on nightly, to be removed with the line above once 1.31 is stable
142-
#[allow(private_no_mangle_statics)]
143142
#[cfg(feature = "rt")]
144143
#[doc(hidden)]
145144
#[link_section = ".vector_table.interrupts"]

0 commit comments

Comments
 (0)