From 956668edc862a2b20fe97841095a2e7beac8f232 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sat, 27 Jul 2024 01:43:33 +0200 Subject: [PATCH] Remove -Cinline-threshold=5 option from config.toml (#822) It doesn't work anyway, see https://github.com/rust-lang/rust/pull/124712 --- .cargo/config.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 17a9a1e3d..256fec245 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -23,14 +23,12 @@ target = "thumbv6m-none-eabi" # script. This is usually provided by the cortex-m-rt crate, and by default # the version in that crate will include a file called `memory.x` which # describes the particular memory layout for your specific chip. -# * inline-threshold=5 makes the compiler more aggressive and inlining functions # * no-vectorize-loops turns off the loop vectorizer (seeing as the M0+ doesn't # have SIMD) rustflags = [ "-C", "link-arg=--nmagic", "-C", "link-arg=-Tlink.x", "-C", "link-arg=-Tdefmt.x", - "-C", "inline-threshold=5", "-C", "no-vectorize-loops", ]