-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
262 additions
and
318 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
#![allow(dead_code)] | ||
#![allow(non_camel_case_types)] | ||
|
||
use std::{fs::File, io::Write, path::Path}; | ||
use wit_bindgen_core::Files; | ||
use wit_bindgen_rust::Opts; | ||
use wit_parser::Resolve; | ||
use bindgen::generate_rust; | ||
use std::path::Path; | ||
|
||
#[test] | ||
fn ready() { | ||
println!("it, works!") | ||
} | ||
|
||
#[test] | ||
fn export() { | ||
let here = Path::new(env!("CARGO_MANIFEST_DIR")); | ||
let _ = generate_rust(&here.join("..").join("notedown-wasi")); | ||
let _ = generate_rust(Path::new(r#"C:\Users\Dell\CLionProjects\dejavu-engine\projects\dejavu-wasi"#)); | ||
let _ = generate_rust(Path::new(r#"C:\Users\Dell\CLionProjects\notedown-rs\projects\notedown-json"#)); | ||
} |
This file was deleted.
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
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
Oops, something went wrong.