Skip to content

Commit 0e93a76

Browse files
committed
refactor: remove #![deny(unsupported_naked_functions)]
It's been converted to hard error by [RFC 2972][1]. [1]: https://github.com/rust-lang/rfcs/blob/master/text/2972-constrained-naked.md
1 parent 3e9a252 commit 0e93a76

File tree

20 files changed

+0
-20
lines changed

20 files changed

+0
-20
lines changed

examples/basic/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![feature(const_mut_refs)]
44
#![feature(const_trait_impl)]
55
#![deny(unsafe_op_in_unsafe_fn)]
6-
#![deny(unsupported_naked_functions)]
76
use r3::{
87
kernel::{prelude::*, traits, StaticTask},
98
prelude::*,

examples/basic_gr_peach/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![feature(asm_sym)]
66
#![feature(naked_functions)]
77
#![deny(unsafe_op_in_unsafe_fn)]
8-
#![deny(unsupported_naked_functions)]
98
#![no_std]
109
#![no_main]
1110
#![cfg(target_os = "none")]

examples/basic_nucleo_f401re/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#![feature(const_mut_refs)]
55
#![feature(const_trait_impl)]
66
#![deny(unsafe_op_in_unsafe_fn)]
7-
#![deny(unsupported_naked_functions)]
87
#![no_std]
98
#![no_main]
109
#![cfg(target_os = "none")]

examples/basic_rp_pico/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#![feature(const_mut_refs)]
55
#![feature(const_trait_impl)]
66
#![deny(unsafe_op_in_unsafe_fn)]
7-
#![deny(unsupported_naked_functions)]
87
#![no_std]
98
#![no_main]
109
#![cfg(target_os = "none")]

examples/basic_wio_terminal/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![feature(let_else)]
66
#![feature(const_trait_impl)]
77
#![deny(unsafe_op_in_unsafe_fn)]
8-
#![deny(unsupported_naked_functions)]
98
#![no_std]
109
#![no_main]
1110
#![cfg(target_os = "none")]

examples/smp_rp_pico/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#![feature(const_mut_refs)]
55
#![feature(const_trait_impl)]
66
#![deny(unsafe_op_in_unsafe_fn)]
7-
#![deny(unsupported_naked_functions)]
87
#![no_std]
98
#![no_main]
109
#![cfg(target_os = "none")]

src/arm_semihosting/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
//! [pdf]: http://infocenter.arm.com/help/topic/com.arm.doc.dui0471e/DUI0471E_developing_for_arm_processors.pdf
4646
4747
#![deny(missing_docs)]
48-
#![deny(unsupported_naked_functions)]
4948
#![no_std]
5049

5150
#[macro_use]

src/r3_core/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#![feature(untagged_unions)] // `union` with non-`Copy` fields
4141
#![cfg_attr(test, feature(is_sorted))]
4242
#![deny(unsafe_op_in_unsafe_fn)]
43-
#![deny(unsupported_naked_functions)]
4443
#![doc(html_logo_url = "https://r3-os.github.io/r3/logo-small.svg")]
4544
#![doc = include_str!("./lib.md")]
4645
#![doc = include_str!("./common.md")]

src/r3_kernel/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#![feature(let_else)]
2929
#![feature(doc_cfg)] // `#[doc(cfg(...))]`
3030
#![deny(unsafe_op_in_unsafe_fn)]
31-
#![deny(unsupported_naked_functions)]
3231
#![doc(html_logo_url = "https://r3-os.github.io/r3/logo-small.svg")]
3332
#![doc = include_str!("./lib.md")]
3433
#![doc = include_str!("./common.md")]

src/r3_port_arm/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#![feature(naked_functions)]
1212
#![feature(slice_ptr_len)]
1313
#![deny(unsafe_op_in_unsafe_fn)]
14-
#![deny(unsupported_naked_functions)]
1514
#![allow(clippy::verbose_bit_mask)] // questionable
1615
#![doc(html_logo_url = "https://r3-os.github.io/r3/logo-small.svg")]
1716
#![doc = include_str!("./lib.md")]

0 commit comments

Comments
 (0)