Skip to content

Commit

Permalink
feat: add cross compile settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Dec 9, 2023
1 parent a176114 commit fd243d9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[target.x86_64-pc-windows-msvc]
linker = "lld"
rustflags = [
"-Lnative=Users/danixx/.xwin/crt/lib/x86_64",
"-Lnative=Users/danixx/.xwin/sdk/lib/um/x86_64",
"-Lnative=Users/danixx/.xwin/sdk/lib/ucrt/x86_64"
]

[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/node_modules/

/style/
/.xwin-cache/

# Environment file
.env

0 comments on commit fd243d9

Please sign in to comment.