Open
Description
Hi, I followed the readme tutorial and it worked perfectly.
But I've unable to reproduce this with stack and always run into the error:
rust-interop > .stack-work/dist/aarch64-osx/ghc-9.8.1/build/librust_interop.a: copyFile: does not exist (No such file or directory)
Following the step steps, except using the stack.yaml to configure extra-deps
from the parent haskell project, to the other haskell+rust library created according to the tutorial.
Do you have any pointers on what I should do to make this work with stack (no cabal.project file)?
I added the following to the package.yaml (hpack used by stack), and it doesn't solve the errors
library:
extra-lib-dirs:
- ${pkgroot}/rust-interop/target/debug
extra-libraries:
- rust_interop
source-dirs:
- src
- rust-interop/src
Metadata
Assignees
Labels
No labels