Skip to content

Commit 32ab672

Browse files
authored
Use fatal_error instead of diagnostics in build-script
`diagnostics` is no longer available in `build-script`.
1 parent d5d7a1c commit 32ab672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def validate_arguments(toolchain, args):
217217
"must be specified")
218218
if args.wasm:
219219
if args.wasi_sdk is None:
220-
diagnostics.fatal(
220+
fatal_error(
221221
"when building for WebAssembly, --wasi-sdk must be specified")
222222

223223
targets_needing_toolchain = [

0 commit comments

Comments
 (0)