Open jonco3 opened 6 years ago
Same here, I did cargo build --all-targets
and then
holyjit$ RUSTC_WRAPPER=$(pwd)/rustc.sh cargo run --example brainfuck --verbose
Fresh unicode-xid v0.0.4
Fresh byteorder v1.2.7
Fresh lazy_static v0.2.11
Fresh stable_deref_trait v1.1.1
Fresh quote v0.3.15
Fresh bitflags v0.9.1
Fresh synom v0.11.3
Fresh owning_ref v0.3.3
Fresh serde v1.0.81
Fresh num-traits v0.2.6
Fresh syn v0.11.11
Fresh libc v0.2.44
Fresh dynasm v0.1.3
Fresh num-traits v0.1.43
Fresh serde_derive_internals v0.15.1
Fresh memmap v0.5.2
Fresh bincode v0.8.0
Fresh serde_derive v1.0.12
Fresh dynasmrt v0.1.3
Fresh holyjit_lib v0.0.0 (file:///Users/cztomsik/Desktop/playground/holyjit/lib)
Fresh holyjit_plugin v0.0.0 (file:///Users/cztomsik/Desktop/playground/holyjit/plugin)
Fresh holyjit_pkg v0.0.0 (file:///Users/cztomsik/Desktop/playground/holyjit)
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running `target/debug/examples/brainfuck`
Did not found JIT Code in the context.
Start compiling ...
bincode::ErrorKind = IoError: failed to fill whole buffer
JIT Compiler Error: Deserialize
cargo 0.26.0-nightly (1d6dfea44 2018-01-26) rustc 1.25.0-nightly (27a046e93 2018-02-18) OSX El Capitan
Can you try again after adding this line back https://github.com/nbp/holyjit/blob/master/rustc.sh#L16
If this works, can you provide the output of uname -s
and uname -o
, such that I can add a condition around this line, and get this issue fixed.
hey, it didn't help (same result)
uname -a
Darwin users-MacBook-Air.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 x86_64
uname -o
uname: illegal option -- o
usage: uname [-amnprsv]
I tried running the example command in the README, but I got this:
~/projects/holyjit$ RUSTC_WRAPPER=$(pwd)/rustc.sh cargo run --example brainfuck Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs Running
target/debug/examples/brainfuck
Did not found JIT Code in the context. Start compiling ... bincode::ErrorKind = IoError: failed to fill whole buffer JIT Compiler Error: Deserialize