diff --git a/Cargo.toml b/Cargo.toml index 0b126cb..d7c0d73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snmalloc-rs" -version = "0.3.4" +version = "0.3.5" authors = ["schrodingerzhu "] edition = "2021" license = "MIT" @@ -16,7 +16,7 @@ readme = "README.md" members = ["snmalloc-sys" ] [dependencies] -snmalloc-sys = {version = "0.3.4", path = "snmalloc-sys", default-features = false } +snmalloc-sys = {version = "0.3.5", path = "snmalloc-sys", default-features = false } [features] default = ["snmalloc-sys/build_cmake"] diff --git a/README.md b/README.md index 96bafd1..95c28bf 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ are listed at - `check`: Enable extra checks to improve security, see upstream [security docs](https://github.com/microsoft/snmalloc/tree/main/docs/security). Note that the `memcpy` protection is not enabled in Rust. - `win8compat`: Improve compatibility for old Windows platforms (removing usages of `VirtualAlloc2` and other new APIs) +- `lto`: Links with InterProceduralOptimization/LinkTimeOptimization +- `notls`: Enables to be loaded dynamically, thus disable tls. **To get the crates compiled, you need to choose either `1mib` or `16mib` to determine the chunk configuration** diff --git a/snmalloc-sys/Cargo.toml b/snmalloc-sys/Cargo.toml index 85452c8..2a268c1 100644 --- a/snmalloc-sys/Cargo.toml +++ b/snmalloc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snmalloc-sys" -version = "0.3.4" +version = "0.3.5" authors = ["schrodingerzhu "] edition = "2021" license = "MIT"