-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
I think we should make the following changes to cross_compile_assistance():
- Make it return a
Result<Config, CrossCompileConfigError>instead of the three-stateCrossCompileAssistanceenum, where some of the states really should be errors. (The call site can still choose to ignore the errors if eg--no-cross-compile-assistanceis used.) - De-duplicate the help text
- Stop ignoring I/O errors that occur when using
which(other than not found errors)
See:
https://github.com/heroku/libcnb.rs/blob/main/libcnb-package/src/cross_compile.rs