Skip to content

fix: pin cargo-zigbuild - #99

Merged
llimllib merged 1 commit into
mainfrom
fix-build
Sep 13, 2026
Merged

llimllib merged 1 commit into
mainfrom
fix-build

Conversation

@llimllib

@llimllib llimllib commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

The build was failing when compining htmlentity with cargo-zigbuild 0.23.4, so pin it to 0.23.3:

│    Compiling htmlentity v1.3.2
│ error: linking with `/home/runner/.cache/cargo-zigbuild/0.23.4/wrappers/d7b6/zigcc-x86_64-apple-darwin-1bd8.sh` failed: exit status: 1
│   |
│   = note:  "/home/runner/.cache/cargo-zigbuild/0.23.4/wrappers/d7b6/zigcc-x86_64-apple-darwin-1bd8.sh" "-Wl,-exported_symbols_list" "-Wl,/home/runner/work/mdriver/mdriver/target/x86_64-apple-darwin/release/deps/rustc12R2z7/list" "/home/runner/work/mdriver/mdriver/target/x86_64-apple-darwin/release/deps/rustc12R2z7/symbols.o" "<2 object files omitted>" "<sysroot>/lib/rustlib/x86_64-apple-darwin/lib/libpanic_abort-*.rlib" "/home/runner/work/mdriver/mdriver/target/x86_64-apple-darwin/release/deps/{libanyhow-9a3ef780d06a90c2,libthiserror-6597482e85727f51,liblazy_static-ca1b23d530977983}.rlib" "<sysroot>/lib/rustlib/x86_64-apple-darwin/lib/{libstd-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-lSystem" "-lc" "-lm" "-arch" "x86_64" "-mmacosx-version-min=10.12.0" "-o" "/home/runner/work/mdriver/mdriver/target/x86_64-apple-darwin/release/deps/libhtmlentity-a1903a5b8ceaf653.dylib" "-Wl,-dead_strip" "-dynamiclib" "-nodefaultlibs"
│   = note: some arguments are omitted. use `--verbose` to show all linker arguments
│   = note: error: unable to read exported symbols list '-dead_strip': FileNotFound
│ error: could not compile `htmlentity` (lib) due to 1 previous error
│ warning: build failed, waiting for other jobs to finish...
target=x86_64-apple-darwin

see rust-cross/cargo-zigbuild#479 for details; once it's fixed and released I could upgrade again

@llimllib
llimllib merged commit bf08002 into main Sep 13, 2026
3 checks passed
@llimllib
llimllib deleted the fix-build branch September 13, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant