From f7e005a5f7fb672b2206ce6a2adc52c248b1ec9b Mon Sep 17 00:00:00 2001 From: sorhawell Date: Fri, 8 Sep 2023 22:07:40 +0200 Subject: [PATCH] update news + fix strip + opt-level3 argminmax --- NEWS.md | 7 +++++++ src/rust/Cargo.toml | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 04c00c221..c2edcae4c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,13 @@ ## What's changed - New string method `to_titlecase()` (#371). +- Subnamespace name "arr" as in `$arr$` & `$arr$` is deprecated in favor of "list". + Finally at polars 0.9.0 the "arr" will be removed (#375). +- Polars github release now includes cross-compiled binary for Mac Arm CPUs (aarch-apple-darwin). + See installation instructions in README.md. (#377) +- Bugfix: Although stated in news for PR (#334) `strip = true` was not actually set for the + "release-optimized" compilation profile. Now it is. This and `lto="fat"` give smaller binaries + (#377). # polars 0.8.0 diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index f7df482c2..b28da83f3 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -22,15 +22,14 @@ mimalloc = { version = "0.1.34", default-features = false } [target.'cfg(all(target_os = "linux", not(use_mimalloc)))'.dependencies] jemallocator = { version = "0.5.0", features = ["disable_initial_exec_tls"] } - -# use opt-level = 1 for argminmax package unless profile is profile.release-optimized to support Rust < 1.66 [profile.release-optimized] inherits = "release" codegen-units = 1 lto = "fat" +strip = true [profile.release.package.argminmax] -opt-level = 1 +opt-level = 3 # was 1 to support 1.66, but since 1.70 is needed anyway it does not matter anymore [profile.release-optimized.package.argminmax] opt-level = 3