You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded to rust 1.86 and found our iOS build broken:
Undefined symbols for architecture arm64:
"___chkstk_darwin", referenced from:
_HUF_compress1X_usingCTable_internal in libzstd_sys-4271429fa83727a6.rlib[13](1ddd1489cc625d97-huf_compress.o)
_ZSTD_RowFindBestMatch_noDict_4_4 in libzstd_sys-4271429fa83727a6.rlib[20](1ddd1489cc625d97-zstd_lazy.o)
_ZSTD_RowFindBestMatch_noDict_4_5 in libzstd_sys-4271429fa83727a6.rlib[20](1ddd1489cc625d97-zstd_lazy.o)
_ZSTD_RowFindBestMatch_noDict_4_6 in libzstd_sys-4271429fa83727a6.rlib[20](1ddd1489cc625d97-zstd_lazy.o)
_ZSTD_RowFindBestMatch_noDict_5_4 in libzstd_sys-4271429fa83727a6.rlib[20](1ddd1489cc625d97-zstd_lazy.o)
_ZSTD_RowFindBestMatch_noDict_5_5 in libzstd_sys-4271429fa83727a6.rlib[20](1ddd1489cc625d97-zstd_lazy.o)
_ZSTD_RowFindBestMatch_noDict_5_6 in libzstd_sys-4271429fa83727a6.rlib[20](1ddd1489cc625d97-zstd_lazy.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I was able to create a minimal reproducible example here in your repo:
# for your reference
rustup target add aarch64-apple-ios
# last working version
rustup default 1.82
# will begin to execute successfully, but will fail because macOS, this is fine
cargo run --example basic --target=aarch64-apple-ios
# first non-working version, all subsequent versions fail similarly
rustup default 1.83
# for your reference
rustup target add aarch64-apple-ios
# fails to link with the above message
cargo run --example basic --target=aarch64-apple-ios
We're not using zstd directly but rather tantivy for our search experience, just for reference our dependency tree looks like this:
I'm working on lockbook, a cross platform note taking app.
We recently upgraded to rust 1.86 and found our iOS build broken:
I was able to create a minimal reproducible example here in your repo:
We're not using zstd directly but rather tantivy for our search experience, just for reference our dependency tree looks like this:
The text was updated successfully, but these errors were encountered: