-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(working, but not particularly good; for some issues see [492]) [492]: mozilla/cbindgen#492
- Loading branch information
Showing
9 changed files
with
908 additions
and
0 deletions.
There are no files selected for viewing
158 changes: 158 additions & 0 deletions
158
rust/liboscore-cryptobackend-aead-standalone/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "liboscore-cryptobackend-aead-standalone" | ||
version = "0.1.0" | ||
authors = ["chrysn <chrysn@fsfe.org>"] | ||
edition = "2018" | ||
|
||
[lib] | ||
crate-type = ["staticlib"] | ||
|
||
[dependencies] | ||
liboscore-cryptobackend-aead = { path = "../liboscore-cryptobackend-aead", features = ["chacha20poly1305", "aes-ccm", "aes-gcm"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#![no_std] | ||
#![feature(core_intrinsics)] | ||
#![feature(lang_items)] | ||
|
||
use core::panic::PanicInfo; | ||
|
||
pub use liboscore_cryptobackend_aead::*; | ||
|
||
#[panic_handler] | ||
fn panic(_info: &PanicInfo) -> ! { | ||
unsafe { core::intrinsics::abort() } | ||
} | ||
|
||
#[lang = "eh_personality"] | ||
extern fn eh_personality() {} |
Oops, something went wrong.