Skip to content

Commit

Permalink
refactor: remove #![feature(asm_sym)]
Browse files Browse the repository at this point in the history
The `asm_sym` feature was stabilized by [rust-lang/rust#103168][1].

[1]: rust-lang/rust#103168
  • Loading branch information
yvt committed Nov 12, 2022
1 parent e331fe0 commit b6109f8
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ The R3 original kernel is provided as a separate package [`r3_kernel`][].
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![no_std]
#![no_main]

Expand Down
1 change: 0 additions & 1 deletion examples/basic_gr_peach/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![feature(const_mut_refs)]
#![feature(naked_functions)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]
#![no_main]
Expand Down
1 change: 0 additions & 1 deletion examples/basic_nucleo_f401re/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]
#![no_main]
Expand Down
1 change: 0 additions & 1 deletion examples/basic_rp_pico/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]
#![no_main]
Expand Down
1 change: 0 additions & 1 deletion examples/basic_wio_terminal/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(let_else)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]
#![no_main]
Expand Down
1 change: 0 additions & 1 deletion examples/smp_rp_pico/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]
#![no_main]
Expand Down
1 change: 0 additions & 1 deletion src/r3_port_arm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#![feature(lint_reasons)]
#![feature(decl_macro)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![allow(clippy::verbose_bit_mask)] // questionable
#![cfg_attr(
Expand Down
1 change: 0 additions & 1 deletion src/r3_port_arm_m/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#![feature(slice_ptr_len)]
#![feature(decl_macro)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![cfg_attr(
feature = "doc",
Expand Down
1 change: 0 additions & 1 deletion src/r3_port_arm_m_test_driver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![cfg_attr(feature = "run", no_std)]
#![cfg_attr(feature = "run", no_main)]
Expand Down
1 change: 0 additions & 1 deletion src/r3_port_arm_test_driver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![cfg_attr(feature = "run", no_std)]
#![cfg_attr(feature = "run", no_main)]
Expand Down
1 change: 0 additions & 1 deletion src/r3_port_riscv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#![feature(decl_macro)]
#![feature(raw_ref_op)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![feature(doc_cfg)]
#![feature(linkage)]
#![deny(unsafe_op_in_unsafe_fn)]
Expand Down
1 change: 0 additions & 1 deletion src/r3_port_riscv_test_driver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#![feature(const_mut_refs)]
#![feature(decl_macro)]
#![feature(asm_const)]
#![feature(asm_sym)]
#![deny(unsafe_op_in_unsafe_fn)]
#![cfg_attr(feature = "run", no_std)]
#![cfg_attr(feature = "run", no_main)]
Expand Down
1 change: 0 additions & 1 deletion src/r3_portkit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#![feature(decl_macro)]
#![feature(asm_const)]
#![feature(const_cmp)]
#![feature(asm_sym)]
#![cfg_attr(
feature = "doc",
doc(html_logo_url = "https://r3-os.github.io/r3/logo-small.svg")
Expand Down
1 change: 0 additions & 1 deletion src/r3_portkit/src/sym.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pub use core::{arch::asm, mem};
/// ```
/// #![feature(naked_functions)]
/// #![feature(asm_const)]
/// #![feature(asm_sym)]
/// use r3_portkit::sym::sym_static;
/// use std::{arch::asm, cell::Cell};
///
Expand Down

0 comments on commit b6109f8

Please sign in to comment.