Skip to content

chore(DevEx): allow for build on alpine aarch64#117

Open
gyuheon0h wants to merge 1 commit intomainfrom
gyuheon0h/local-dev-alpine
Open

chore(DevEx): allow for build on alpine aarch64#117
gyuheon0h wants to merge 1 commit intomainfrom
gyuheon0h/local-dev-alpine

Conversation

@gyuheon0h
Copy link
Copy Markdown
Contributor

@gyuheon0h gyuheon0h commented Mar 26, 2026

I wanted to work in a alpine aarch64 dev container while debugging #114, so I added this dev container.

This is a QoL improvement for future devs also

We need to add this

[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]

[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]

because

  1. musl targets default to crt-static=enabled (static C runtime)
  2. Rust refuses to build cdylib crate types when crt-static is enabled
  3. crashtracker crate needs to be cdylib to work as a Node.js .node module

Happy to remove the dev container file and keep the build flag change only, so it works agnostically, no matter if devs spin up the dev container, or devs just work on a aarch64 alpine machine through a different method.

Copy link
Copy Markdown
Contributor Author

gyuheon0h commented Mar 26, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gyuheon0h gyuheon0h changed the title allow for build on alpine aarch64 chore(DevEx): allow for build on alpine aarch64 Mar 26, 2026
@gyuheon0h gyuheon0h marked this pull request as ready for review March 26, 2026 15:49
@gyuheon0h gyuheon0h requested review from a team as code owners March 26, 2026 15:49
@gyuheon0h gyuheon0h requested a review from rochdev March 26, 2026 15:49
@github-actions
Copy link
Copy Markdown

Overall package size

Self size: 36.05 MB
Deduped: 36.05 MB
No deduping: 36.05 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

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