Skip to content

Commit

Permalink
Remove private_no_mangle_static directives in generated code for latest
Browse files Browse the repository at this point in the history
nightly
  • Loading branch information
craigjb committed Nov 30, 2018
1 parent 41f1908 commit 15064a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/generate/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ pub fn render(d: &Device, target: &Target, nightly: bool, device_x: &mut String)
// version)
#[allow(renamed_and_removed_lints)]
// This currently breaks on nightly, to be removed with the line above once 1.31 is stable
#[allow(private_no_mangle_statics)]
#[no_mangle]
static mut DEVICE_PERIPHERALS: bool = false;

Expand Down
1 change: 0 additions & 1 deletion src/generate/interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ pub fn render(

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

0 comments on commit 15064a9

Please sign in to comment.