diff options
author | Pauline <git@ethanlibs.co> | 2023-10-14 22:27:27 -0400 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-10-14 22:27:27 -0400 |
commit | 2582162cea2b3a59cd21c78f8b73cb03d0acad40 (patch) | |
tree | 432057475f3b51850a85e2cba9969bcb79f3a8e6 /.cargo | |
parent | 06f51ccdc496a6581d098edc424f3973e550221d (diff) | |
download | Nexus-2582162cea2b3a59cd21c78f8b73cb03d0acad40.tar.gz Nexus-2582162cea2b3a59cd21c78f8b73cb03d0acad40.tar.bz2 Nexus-2582162cea2b3a59cd21c78f8b73cb03d0acad40.zip |
refactor(trunk): refactor the entire project idk
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml.mustache | 23 | ||||
-rw-r--r-- | .cargo/readme.md | 3 |
2 files changed, 26 insertions, 0 deletions
diff --git a/.cargo/config.toml.mustache b/.cargo/config.toml.mustache new file mode 100644 index 0000000..8456e90 --- /dev/null +++ b/.cargo/config.toml.mustache @@ -0,0 +1,23 @@ +{{#isMacOS}} +[target.x86_64-apple-darwin] +rustflags = ["-L", "{{{nativeDeps}}}/lib"] + +[target.aarch64-apple-darwin] +rustflags = ["-L", "{{{nativeDeps}}}/lib"] +{{/isMacOS}} + +{{#isWin}} +[target.x86_64-pc-windows-msvc] +rustflags = ["-L", "{{{nativeDeps}}}\\lib"] +{{/isWin}} + +{{#isLinux}} +[target.x86_64-unknown-linux-gnu] +rustflags = ["-L", "{{{nativeDeps}}}/lib", "-C", "link-arg=-Wl,-rpath=${ORIGIN}/../lib/nexus"] + +[target.aarch64-unknown-linux-gnu] +rustflags = ["-L", "{{{nativeDeps}}}/lib", "-C", "link-arg=-Wl,-rpath=${ORIGIN}/../lib/nexus"] +{{/isLinux}} + +[alias] +prisma = "run -p prisma-cli --bin prisma --" diff --git a/.cargo/readme.md b/.cargo/readme.md new file mode 100644 index 0000000..1854eae --- /dev/null +++ b/.cargo/readme.md @@ -0,0 +1,3 @@ +# (i): note + +make sure to execute the `::setup` script after any modifications to `cargo.toml`. |