Skip to content

Commit b7f4fd9

Browse files
committed
chore: add unused pragma (these will trigger for whichever platform we are not on)
1 parent e9d560d commit b7f4fd9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindings/nim/nim_code/src/build_utils.nim

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import os
22

33
const
44
buildDir = "build"
5-
universalAppleDarwin = buildDir / "universal-apple-darwin"
6-
x86_64PcWindowsGnu = buildDir / "x86_64-pc-windows-gnu"
7-
x86_64UnknownLinuxGnu = buildDir / "x86_64-unknown-linux-gnu"
8-
aarch64UnknownLinuxGnu = buildDir / "aarch64-unknown-linux-gnu"
5+
universalAppleDarwin {.used.} = buildDir / "universal-apple-darwin"
6+
x86_64PcWindowsGnu {.used.} = buildDir / "x86_64-pc-windows-gnu"
7+
x86_64UnknownLinuxGnu {.used.} = buildDir / "x86_64-unknown-linux-gnu"
8+
aarch64UnknownLinuxGnu {.used.} = buildDir / "aarch64-unknown-linux-gnu"
99

1010
proc getInstallDir*(): string =
1111
when defined(macosx):

0 commit comments

Comments
 (0)