1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00

Rust cleanup

This commit is contained in:
Eelco Dolstra 2019-09-10 21:55:32 +02:00
parent 343ebcc048
commit 8110b4ebb2
6 changed files with 74 additions and 63 deletions

5
nix-rust/src/error.rs Normal file
View file

@ -0,0 +1,5 @@
#[derive(Debug)]
pub enum Error {
Misc(String),
Foreign(libc::c_void), // == std::exception_ptr
}