We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
capnpc-rust was calling panic!(), but I couldn't see what file it was trying to open. I think this patch will help others.
$ git diff diff --git a/src/codegen.rs b/src/codegen.rs index 16c9be7..93c8f11 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -1596,7 +1596,7 @@ pub fn main(mut inp : T) -> ::std::io::Result<()> use std::io::Write; try!(writer.write_all(text.as_bytes())); }
Err(e) => {panic!("could not open file for writing: {}", e)}
Err(e) => {panic!("could not open file {:?} for writing: {}", filepath, e)} }
The text was updated successfully, but these errors were encountered:
Good point! Fixed in 8372056.
Sorry, something went wrong.
No branches or pull requests
capnpc-rust was calling panic!(), but I couldn't see what file it was trying to open.
I think this patch will help others.
$ git diff
diff --git a/src/codegen.rs b/src/codegen.rs
index 16c9be7..93c8f11 100644
--- a/src/codegen.rs
+++ b/src/codegen.rs
@@ -1596,7 +1596,7 @@ pub fn main(mut inp : T) -> ::std::io::Result<()>
use std::io::Write;
try!(writer.write_all(text.as_bytes()));
}
Ok(())
The text was updated successfully, but these errors were encountered: