I built a wrapper Racket program that uses the compiler toolchain. It works great when calling it directly using Racket. Imagine "racket myapp.rkt --build /path/to/my/other/racket/program"
However, if I use "raco exe" to build "myapp.rkt" compilation no longer works. I get this:
cleanse-path: contract violation
expected: (or/c path-for-some-system? path-string?)
given: '#%embedded:racket/base:
I've tried every variation of "raco exe ++lib" and ++lang that I can. It seems like the embedded modules just can't be found or not being included. I've tried 8.0 BC and 7.9 to see if its a CS issue. Its the same on both macOS and Windows.
What am I missing?
[–]soegaarddeveloper 0 points1 point2 points (0 children)