Skip to content

Commit

Permalink
Merge pull request #279 from dvdsk/no-c-deps
Browse files Browse the repository at this point in the history
Adds a feature no-c-deps which makes microbin easy to crosscompile
  • Loading branch information
szabodanika authored Oct 24, 2024
2 parents 6e08eed + 28463e4 commit e841fdd
Show file tree
Hide file tree
Showing 17 changed files with 1,659 additions and 1,033 deletions.
10 changes: 10 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# specifies the linker for compiling to these targets
# this needs to be done to allow cross compiling

# may need more entries for more architectures, if you run into
# issues on something else then aarch64 musl open an issue and
# point to this comment. This will no longer be necessary when
# rust-lld is stabilizes.

[target.aarch64-unknown-linux-musl]
rustflags = ["-Clinker=rust-lld"]
Loading

0 comments on commit e841fdd

Please sign in to comment.