aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config.toml.mustache
blob: 2ae093318828b37b2aa96bef91175b89df69e4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{#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"]

[target.'cfg(windows)']
rustflags = ["-C", "link-args=/STACK:16777220"]
{{/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 --"