From 6d7ecedcba5f76d4bb3fabe71856c872ab36545f Mon Sep 17 00:00:00 2001 From: Rahix Date: Fri, 17 Jan 2025 19:32:25 +0100 Subject: [PATCH] examples: rp-pico: Remove -Cinline-threshold This flag was deprecated and no longer has any effect. The example works fine without perfectly tuned inlining, so let's drop it without replacement. Link: https://github.com/rust-lang/rust/pull/124712 --- examples/rp-pico/.cargo/config.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/rp-pico/.cargo/config.toml b/examples/rp-pico/.cargo/config.toml index 26bda76..26a6841 100644 --- a/examples/rp-pico/.cargo/config.toml +++ b/examples/rp-pico/.cargo/config.toml @@ -16,7 +16,6 @@ rustflags = [ # trap unreachable can save a lot of space, but requires nightly compiler. # uncomment the next line if you wish to enable it # "-Z", "trap-unreachable=no", - "-C", "inline-threshold=5", "-C", "no-vectorize-loops", ]