embree3-arm
Rust bindings to Embree. Forked from embree-rs, and relinked by dynamical lib generated from Embree on MacOS with arm architecture. Only apply for using the embree-rs in v0.3.8 edition on MacOS arm.
Usage
When trying to extern crate embree3_arm as embree, follow these steps:
- add this
build.rsin the workspace of the rust program:
use env;
use PathBuf;
- Set the workspace to the following env variable:
- Download compressed libembree from github release page, and move the
libfolder to the root dir of rust program.

-
cargo build && cargo run, then copylibembree3.3.13.4.dylib,libembree3.3.dylibandlibembree3.dylibto./target/debugor./target/release -
try
cargo runagain.