build.rs

1fn main() {
2    // Find WebRTC.framework as a sibling of the executable when running outside of an application bundle.
3    // TODO: We shouldn't depend on WebRTC in editor
4    println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path");
5}