will need this for it to work

This commit is contained in:
Michael Neale
2025-10-28 15:07:24 +11:00
parent 4b1694b308
commit c1ce3038d8
2 changed files with 11 additions and 2 deletions

5
.cargo/config.toml Normal file
View File

@@ -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"]

View File

@@ -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"