Closed edvakf closed 5 years ago
If old build artifacts are left behind from before (the original Ruby that was installed as static which was linked against) it may be causing these errors. You can delete the target
directory or run cargo clean
. Then try it again.
Wow, cargo clean
worked! I thought I'd tried deleting the target directory, but anyway, thank you.
Hi. I would like some help running test in rutie_ruby_example on Mac. (full output on gist)
I've investigated with lldb and found that
rb_enc_init
was entered twice with different pointer to the static structenc_table
, whereas it looks like the function should only be run only once.My Ruby was installed this way. Compiling with or without
CONFIGURE_OPTS=--enable-shared
did not matter.I'm using macOS 10.14.5 (Mojave) and Rust 1.35.0 (2019-05-20).