diff --git a/CREDITS.md b/CREDITS.md index e9773f5..9e02c78 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1,7 +1,7 @@ # Project Dependencies Package: flaca - Version: 3.1.4 - Generated: 2024-07-25 19:10:39 UTC + Version: 3.1.5 + Generated: 2024-07-26 04:46:44 UTC | Package | Version | Author(s) | License | | ---- | ---- | ---- | ---- | @@ -19,7 +19,7 @@ | [dowser](https://github.com/Blobfolio/dowser) | 0.9.2 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [equivalent](https://github.com/cuviper/equivalent) | 1.0.1 | | Apache-2.0 or MIT | | [fastrand](https://github.com/smol-rs/fastrand) | 2.1.0 | [Stjepan Glavina](mailto:stjepang@gmail.com) | Apache-2.0 or MIT | -| flapfli | 3.1.4 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL | +| flapfli | 3.1.5 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL | | [funty](https://github.com/myrrlyn/funty) | 2.0.0 | [myrrlyn](mailto:self@myrrlyn.dev) | MIT | | [fyi_msg](https://github.com/Blobfolio/fyi) | 0.13.6 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [hashbrown](https://github.com/rust-lang/hashbrown) | 0.14.5 | [Amanieu d'Antras](mailto:amanieu@gmail.com) | Apache-2.0 or MIT | diff --git a/flaca/Cargo.toml b/flaca/Cargo.toml index 5c19a78..7951c43 100644 --- a/flaca/Cargo.toml +++ b/flaca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flaca" -version = "3.1.4" +version = "3.1.5" license = "WTFPL" authors = ["Josh Stoik "] edition = "2021" diff --git a/flapfli/Cargo.toml b/flapfli/Cargo.toml index fad636e..c332747 100644 --- a/flapfli/Cargo.toml +++ b/flapfli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flapfli" -version = "3.1.4" +version = "3.1.5" license = "WTFPL" authors = ["Josh Stoik "] edition = "2021" diff --git a/flapfli/src/ffi.rs b/flapfli/src/ffi.rs index a676c43..00eafae 100644 --- a/flapfli/src/ffi.rs +++ b/flapfli/src/ffi.rs @@ -122,7 +122,7 @@ pub(crate) unsafe fn flapfli_allocate(ptr: *mut u8, new_size: NonZeroUsize) -> N // Make sure we actually achieved allocation; this shouldn't fail, but // might? let real_ptr = NonNull::new(real_ptr) - .unwrap_or_else(|| handle_alloc_error(layout_for(new_size))); + .unwrap_or_else(#[inline(never)] || handle_alloc_error(layout_for(new_size))); // Safety: the layout is aligned to usize. real_ptr.cast::().write(new_size.get()); // Write the length. diff --git a/justfile b/justfile index b402449..9766b99 100644 --- a/justfile +++ b/justfile @@ -28,11 +28,11 @@ doc_dir := justfile_directory() + "/doc" release_dir := justfile_directory() + "/release" skel_dir := justfile_directory() + "/skel" -#export RUSTFLAGS := "-Ctarget-cpu=x86-64-v3 -Cllvm-args=--cost-kind=throughput -Clinker-plugin-lto -Clink-arg=-fuse-ld=lld" -#export CC := "clang" -#export CXX := "clang++" -#export CFLAGS := "-Wall -Wextra -flto -march=x86-64-v3" -#export CXXFLAGS := "-Wall -Wextra -flto -march=x86-64-v3" +export RUSTFLAGS := "-Ctarget-cpu=x86-64-v3 -Cllvm-args=--cost-kind=throughput -Clinker-plugin-lto -Clink-arg=-fuse-ld=lld" +export CC := "clang" +export CXX := "clang++" +export CFLAGS := "-Wall -Wextra -flto -march=x86-64-v3" +export CXXFLAGS := "-Wall -Wextra -flto -march=x86-64-v3" diff --git a/release/man/flaca.1 b/release/man/flaca.1 index e50f829..0a9f58a 100644 --- a/release/man/flaca.1 +++ b/release/man/flaca.1 @@ -1,6 +1,6 @@ -.TH "FLACA" "1" "July 2024" "Flaca v3.1.4" "User Commands" +.TH "FLACA" "1" "July 2024" "Flaca v3.1.5" "User Commands" .SH NAME -Flaca \- Manual page for flaca v3.1.4. +Flaca \- Manual page for flaca v3.1.5. .SH DESCRIPTION Brute\-force, lossless JPEG and PNG compression. .SS USAGE: