Symlink static lib instead of copying

This means we need to run the script much less often.
This commit is contained in:
George Thomas 2026-03-24 11:22:41 +00:00
parent f10c7a29a7
commit ef625c307d

View File

@ -2,4 +2,4 @@
set -euo pipefail
# Place library in the location from which Cabal can bundle it.
cp rust/target/debug/libgarnet_rs.a $(cabal list-bin . | sed -e 's=x/garnet/build/garnet/garnet=build=g')
ln -sf $(pwd)/rust/target/debug/libgarnet_rs.a $(cabal list-bin . | sed -e 's=x/garnet/build/garnet/garnet=build=g')