wasmer/lib/wasi-tests/wasitests/quine.out
2019-07-09 11:58:03 -07:00

12 lines
304 B
Plaintext

use std::fs;
use std::io::Read;
fn main() {
let mut this_file = fs::File::open("wasitests/quine.rs").expect("could not find src file");
let md = this_file.metadata().unwrap();
let mut in_str = String::new();
this_file.read_to_string(&mut in_str).unwrap();
println!("{}", in_str);
}