At the moment build scripts are tricky to use, as they are executed in the generated manifest directory, not the script directory.
Maybe add a new env variable?
Edit: Using the file!() macro inside the build script is a simple and portable way to locate the source file. Prefer adding docs instead of adding custom code.
At the moment build scripts are tricky to use, as they are executed in the generated manifest directory, not the script directory. Maybe add a new env variable?
Edit: Using the
file!()
macro inside the build script is a simple and portable way to locate the source file. Prefer adding docs instead of adding custom code.