sunjay / turtle

Create Animated Drawings in Rust
http://turtle.rs
Mozilla Public License 2.0
559 stars 54 forks source link

can't run on mac m2 due to ipc channel dependencies? #267

Open rjrobben opened 7 months ago

rjrobben commented 7 months ago

platform: mac os chip: apple m2

Cargo.toml:

[dependencies]
turtle = {git = "https://github.com/sunjay/turtle"}

Error encountered:

    Finished dev [unoptimized + debuginfo] target(s) in 0.14s
warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target/debug/turtle-geometry`
thread 'tokio-runtime-worker' panicked at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ipc-channel-0.15.0/src/platform/macos/mod.rs:531:17:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x14d4041f9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.

Is this related to https://github.com/servo/ipc-channel/pull/313? seems newer version of ipc-channel addressed this error.

Thanks!