From c1ce3038d87ff254035b98df97081d59a050f85e Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Tue, 28 Oct 2025 15:07:24 +1100 Subject: [PATCH] will need this for it to work --- .cargo/config.toml | 5 +++++ README.md | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..5332826 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[target.aarch64-apple-darwin] +rustflags = ["-C", "link-args=-Wl,-rpath,@executable_path"] + +[target.x86_64-apple-darwin] +rustflags = ["-C", "link-args=-Wl,-rpath,@executable_path"] diff --git a/README.md b/README.md index 8bb807c..c3b09aa 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,12 @@ G3 is designed for: # Build the project cargo build --release -# Run G3 -cargo run +# Run from the build directory +./target/release/g3 + +# Or copy both files to somewhere in your PATH (macOS only needs both files) +cp target/release/g3 ~/.local/bin/ +cp target/release/libVisionBridge.dylib ~/.local/bin/ # macOS only # Execute a task g3 "implement a function to calculate fibonacci numbers"