Skip to content

Commit

Permalink
Fix mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
JopStro committed May 5, 2024
1 parent 0e48b91 commit 9373782
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
run: cargo rustc --verbose --release -- -C link-arg=-undefined -C link-arg=dynamic_lookup
env:
LUA_LIB: "./.lua/lib"
- uses: actions/upload-artifact@v4
Expand Down
11 changes: 0 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,3 @@ serde_json = "=1.0.116"
serde_json5 = "0.1.0"
mlua = { version = "0.9.7", features = ["luajit", "module", "serialize"] }

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

0 comments on commit 9373782

Please sign in to comment.