mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
Shut up some rust warnings
This commit is contained in:
parent
b7fba16613
commit
d14b1c261c
2 changed files with 2 additions and 1 deletions
|
@ -26,5 +26,6 @@ impl From<Error> for CppException {
|
|||
pub struct CppException(*const libc::c_void); // == std::exception_ptr*
|
||||
|
||||
extern "C" {
|
||||
#[allow(improper_ctypes)] // YOLO
|
||||
fn make_error(s: &str) -> CppException;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue