Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
name: Rust

# The following should ensure that the workflow only runs a single set of actions
# for each PR. But it will not apply this to pushes to the main branch.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### 0.3.9

- Tracking upstream to match version 0.7.2
Copy link

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry mentions tracking upstream version 0.7.2, but the PR title says 'bump version to 0.7.2' while the actual version being bumped to is 0.3.9. This inconsistency could confuse users about which version they're actually getting.

Suggested change
- Tracking upstream to match version 0.7.2
- Package version 0.3.9 now tracks upstream version 0.7.2

Copilot uses AI. Check for mistakes.

### 0.3.8

- Tracking upstream to match version 0.7.1
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snmalloc-rs"
version = "0.3.8"
version = "0.3.9"
authors = ["schrodingerzhu <i@zhuyi.fan>"]
edition = "2021"
license = "MIT"
Expand All @@ -16,7 +16,7 @@ readme = "README.md"
members = ["snmalloc-sys"]

[dependencies]
snmalloc-sys = { version = "0.3.8", path = "snmalloc-sys", default-features = false }
snmalloc-sys = { version = "0.3.9", path = "snmalloc-sys", default-features = false }

[features]
default = ["snmalloc-sys/build_cmake", "snmalloc-sys/usewait-on-address"]
Expand Down
2 changes: 1 addition & 1 deletion snmalloc-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snmalloc-sys"
version = "0.3.8"
version = "0.3.9"
authors = ["schrodingerzhu <i@zhuyi.fan>"]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion snmalloc-sys/snmalloc
Submodule snmalloc updated 55 files
+11 −0 .bazelrc
+42 −36 .github/workflows/main.yml
+91 −0 BUILD.bazel
+60 −46 CMakeLists.txt
+6 −0 MODULE.bazel
+4 −2 docs/PORTING.md
+25 −0 fuzzing/BUILD.bazel
+2 −2 fuzzing/snmalloc-fuzzer.cpp
+85 −0 fuzztest.bazelrc
+0 −3 src/snmalloc/backend/backend.h
+4 −1 src/snmalloc/backend/fixedglobalconfig.h
+7 −4 src/snmalloc/backend/globalconfig.h
+6 −3 src/snmalloc/backend_helpers/authmap.h
+11 −1 src/snmalloc/backend_helpers/commitrange.h
+9 −2 src/snmalloc/backend_helpers/pagemap.h
+7 −1 src/snmalloc/backend_helpers/pagemapregisterrange.h
+27 −6 src/snmalloc/ds/pagemap.h
+8 −8 src/snmalloc/global/globalalloc.h
+1 −1 src/snmalloc/global/libc.h
+57 −4 src/snmalloc/global/threadalloc.h
+1 −1 src/snmalloc/mem/backend_concept.h
+131 −96 src/snmalloc/mem/corealloc.h
+11 −7 src/snmalloc/mem/freelist_queue.h
+0 −1 src/snmalloc/mem/pool.h
+1 −1 src/snmalloc/mem/remotecache.h
+0 −20 src/snmalloc/mem/secondary.h
+6 −5 src/snmalloc/mem/sizeclasstable.h
+1 −1 src/snmalloc/mem/ticker.h
+5 −5 src/snmalloc/override/jemalloc_compat.cc
+92 −14 src/snmalloc/override/new.cc
+1 −1 src/snmalloc/override/rust.cc
+3 −2 src/snmalloc/pal/pal_apple.h
+2 −2 src/snmalloc/pal/pal_concept.h
+3 −2 src/snmalloc/pal/pal_freebsd_kernel.h
+2 −1 src/snmalloc/pal/pal_noalloc.h
+2 −1 src/snmalloc/pal/pal_plain.h
+6 −2 src/snmalloc/pal/pal_posix.h
+276 −40 src/snmalloc/pal/pal_windows.h
+10 −0 src/snmalloc/snmalloc.h
+1 −1 src/test/func/cheri/cheri.cc
+2 −0 src/test/func/domestication/domestication.cc
+2 −2 src/test/func/first_operation/first_operation.cc
+0 −1 src/test/func/fixed_region/fixed_region.cc
+0 −1 src/test/func/fixed_region_alloc/fixed_region_alloc.cc
+4 −17 src/test/func/jemalloc/jemalloc.cc
+16 −14 src/test/func/memory/memory.cc
+20 −2 src/test/func/miracle_ptr/miracle_ptr.cc
+44 −0 src/test/func/multi_atexit/multi_atexit.cc
+87 −0 src/test/func/multi_setspecific/multi_setspecific.cc
+63 −0 src/test/func/multi_threadatexit/multi_threadatexit.cc
+63 −31 src/test/func/pool/pool.cc
+2 −2 src/test/func/teardown/teardown.cc
+6 −0 src/test/func/thread_alloc_external/thread_alloc_external.cc
+2 −0 src/test/perf/lotsofthreads/lotsofthread.cc
+13 −12 src/test/perf/singlethread/singlethread.cc
Loading