Add Xargo and config and stuff

This commit is contained in:
Surma
2019-02-07 00:28:28 +00:00
parent cf45520be3
commit 9e19c36b42
7 changed files with 67 additions and 1 deletions

10
codecs/oxipng/tmp/lib.rs Normal file
View File

@@ -0,0 +1,10 @@
extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;
use std::time::{Instant};
#[wasm_bindgen]
pub fn doit() -> u32 {
let start = Instant::now();
start.elapsed().as_secs() as u32
}