Skip to content

Commit aa48c14

Browse files
committed
[WIP]
1 parent 893945b commit aa48c14

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

Cargo.lock

+11-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ libc = "0.2.53"
2525
tempfile = "3.0.7"
2626
gimli = { git = "https://github.com/gimli-rs/gimli.git" }
2727
indexmap = "1.0.2"
28-
object = "0.11.0"
28+
object = "0.12.0"
2929

3030
# Uncomment to use local checkout of cranelift
3131
#[patch."https://github.com/CraneStation/cranelift.git"]
@@ -41,7 +41,8 @@ object = "0.11.0"
4141
cranelift-simplejit = { git = "https://github.com/CraneStation/cranelift.git" }
4242

4343
[patch.crates-io]
44-
faerie = { git = "https://github.com/bjorn3/faerie.git", branch = "macho_section_symbols" }
44+
faerie = { path = "../faerie" }
45+
object = { path = "../object" }
4546

4647
[profile.dev.overrides."*"]
4748
opt-level = 3

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rm -r target/out || true
55
mkdir -p target/out/clif
66

77
echo "[BUILD] mini_core"
8-
$RUSTC example/mini_core.rs --crate-name mini_core --crate-type dylib
8+
$RUSTC example/mini_core.rs --crate-name mini_core --crate-type dylib -Csave-temps
99

1010
objdump -section-headers target/out/libmini_core.dylib
1111

0 commit comments

Comments
 (0)