Skip to content

Commit 2168054

Browse files
committed
Merge branch '⬆️-nightly-2022-02-02' into 🦆
2 parents 45d80ab + fcc380e commit 2168054

File tree

23 files changed

+21
-30
lines changed

23 files changed

+21
-30
lines changed

Cargo.lock

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,28 @@ members = [
2626
]
2727
resolver = "2"
2828

29-
[patch.crates-io.riscv]
29+
[patch.crates-io.riscv-0p5]
3030
# We need to enable `riscv/inline-asm` to work around
3131
# <https://github.com/rust-embedded/riscv/issues/69>. However, some external
3232
# crates depend on `riscv` 0.5.x, which uses the old form of `asm!` with the
33-
# LLVM syntax, which was moved to `llvm_asm!` when the new inline assembler
34-
# syntax has landed. Therefore, we have to patch `riscv` 0.5.x with the version
35-
# that uses the form of inline assembler supported by the current compiler.
33+
# LLVM syntax, which isn't supported by the current compiler anymore. Therefore,
34+
# we have to patch `riscv` 0.5.x with the version that uses the form of inline
35+
# assembler supported by the current compiler.
3636
git = "https://github.com/r3-os/rust-riscv.git"
37+
package = "riscv"
3738
branch = "refresh/0.5"
3839

40+
[patch.crates-io.riscv-0p6]
41+
# Ditto.
42+
git = "https://github.com/r3-os/rust-riscv.git"
43+
package = "riscv"
44+
branch = "refresh/0.6"
45+
46+
[patch.crates-io.riscv-0p7]
47+
# Ditto.
48+
git = "https://github.com/rust-embedded/riscv.git"
49+
package = "riscv"
50+
3951
[patch.crates-io.riscv-rt]
4052
# FIXME: This is a work-around for
4153
# <https://github.com/rust-embedded/riscv/issues/69>. The upstream version of

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")]

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-01-11
1+
nightly-2022-02-02

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]

0 commit comments

Comments
 (0)