Skip to content

Commit 5b26fd0

Browse files
committed
fix: macos rpath issue
1 parent b49eee9 commit 5b26fd0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/book.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
mdbook build
4444
working-directory: book
45-
- uses: actions/upload-artifact@v3
45+
- uses: actions/upload-artifact@v4
4646
with:
4747
name: book
4848
path: book/book
@@ -53,7 +53,7 @@ jobs:
5353
needs: book
5454
if: github.event_name == 'push'
5555
steps:
56-
- uses: actions/download-artifact@v3
56+
- uses: actions/download-artifact@v4
5757
with:
5858
name: book
5959
- uses: peaceiris/actions-gh-pages@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
dir: osx64
3030
arch: darwin-arm64
3131
artifacts: "plc"
32-
RUSTFLAGS: ""
32+
RUSTFLAGS: "-C link-args=-Wl,-ld_classic"
3333
libvm: "libvm.a"
3434
libvm_dylib: "libvm.dylib"
3535
libuv_dylib: "libuv.dylib"

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ lto = "thin"
113113
#panic = 'unwind' # This setting is always ignored.
114114
incremental = true
115115
codegen-units = 1
116-
# rpath = true
116+
rpath = false
117117

118118

119119
[dev-dependencies]

0 commit comments

Comments
 (0)