diff --git a/build_sysroot/Cargo.toml b/build_sysroot/Cargo.toml index 1039f4613efc..24feabb2226c 100644 --- a/build_sysroot/Cargo.toml +++ b/build_sysroot/Cargo.toml @@ -7,7 +7,7 @@ version = "0.0.0" core = { path = "./sysroot_src/src/libcore" } compiler_builtins = "0.1" alloc = { path = "./sysroot_src/src/liballoc" } -std = { path = "./sysroot_src/src/libstd", features = ["panic_unwind"] } +std = { path = "./sysroot_src/src/libstd", features = ["panic_unwind", "backtrace"] } test = { path = "./sysroot_src/src/libtest" } alloc_system = { path = "./alloc_system" } diff --git a/patches/0019-Workaround-rust-regression.patch b/patches/0019-Workaround-rust-regression.patch deleted file mode 100644 index 524af0b39a62..000000000000 --- a/patches/0019-Workaround-rust-regression.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 8956b4fa10af0df2f8912f6116aa1e970dc0283a Mon Sep 17 00:00:00 2001 -From: bjorn3 -Date: Sun, 18 Aug 2019 17:44:47 +0200 -Subject: [PATCH] Workaround rust regression - ---- - src/liballoc/macros.rs | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/liballoc/macros.rs b/src/liballoc/macros.rs -index 0b5e186..250c419 100644 ---- a/src/liballoc/macros.rs -+++ b/src/liballoc/macros.rs -@@ -98,5 +98,5 @@ macro_rules! vec { - #[macro_export] - #[stable(feature = "rust1", since = "1.0.0")] - macro_rules! format { -- ($($arg:tt)*) => ($crate::fmt::format(::core::format_args!($($arg)*))) -+ ($($arg:tt)*) => ($crate::fmt::format(format_args!($($arg)*))) - } --- -2.20.1 (Apple Git-117) -