will need this for it to work
This commit is contained in:
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal 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"]
|
||||||
@@ -136,8 +136,12 @@ G3 is designed for:
|
|||||||
# Build the project
|
# Build the project
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
# Run G3
|
# Run from the build directory
|
||||||
cargo run
|
./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
|
# Execute a task
|
||||||
g3 "implement a function to calculate fibonacci numbers"
|
g3 "implement a function to calculate fibonacci numbers"
|
||||||
|
|||||||
Reference in New Issue
Block a user