-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1619: feat(native-engine) Panic if `gcc`/`clang-10` is missing r=syrusakbary a=Hywan When `gcc` or `clang-10` is absent, we get a non-obvious error: > Compilation error: No such file or directory (os error 2) It comes from https://github.com/wasmerio/wasmer/blob/2cd12213fb256f475c4e1dc87aefd422115665f7/lib/engine-native/src/artifact.rs#L288-L298. This PR improves that by panicking when `gcc` or `clang` isn't present. Co-authored-by: Ivan Enderlin <[email protected]>
- Loading branch information
Showing
3 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters