We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a363c commit d0b6de0Copy full SHA for d0b6de0
rewatch/src/build/parse.rs
@@ -332,7 +332,8 @@ fn generate_ast(
332
.expect("Error converting .res to .ast"),
333
) {
334
Some(res_to_ast) => {
335
- let stderr = std::str::from_utf8(&res_to_ast.stderr).expect("Expect StdErr to be non-null");
+ let stderr = String::from_utf8_lossy(&res_to_ast.stderr).to_string();
336
+
337
if helpers::contains_ascii_characters(stderr) {
338
if res_to_ast.status.success() {
339
Ok((ast_path, Some(stderr.to_string())))
0 commit comments