Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Env - deps`arborium` build failed

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
macos, rust, wasm
Domain
build-system

Research direction

Start with the dependency declarations in Cargo.toml and reproduce the failure with dx serve for a wasm32-unknown-unknown target. Read the arborium-sysroot v2.18.1 build output and compare how CC and CXX are handled on macOS; done means the documented reproduction builds without the Apple Clang WebAssembly-target error.

Written by the indexing model from the issue text.

Description

Description

Using dioxus-code in a Dioxus web application causes the WASM build
to compile arborium-sysroot.

On macOS, the default Apple Clang does not include the WebAssembly
backend, so dx serve fails unless CC and CXX are explicitly set
to a Homebrew LLVM installation.


Reproduction

Cargo.toml:

[dependencies]
dioxus = "0.7"
dioxus-code = "0.1"

Then run:

dx serve

Environment

  • macOS
  • Apple Clang
  • dioxus-code 0.1.2
  • target: wasm32-unknown-unknown

Output

[cargo] error: failed to run custom build command for `arborium-sysroot v2.18.1` 
[cargo] Caused by: 
...
 [cargo]   cargo:warning=error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"' 
Dominant language
CSS
Stars
8
Forks
0
Avg merge
1h 9m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.