fix(tagged-union): rebase and squash
fix(tagged-union): changed test programs to use new tagged union generated code fix(tagged-union): changed test programs to use new tagged union generated code fix(tagged-union): removed local dependency and changed to point to 0.9.1 version of wasi fix(tagged-union): added newline to gitignore, changed wasi version to 0.10.0 fix(tagged-union): removed gitignore as Cargo.lock is intentional
This commit is contained in:
@@ -15,7 +15,7 @@ pub fn open_scratch_directory(path: &str) -> Result<wasi::Fd, String> {
|
||||
Ok(s) => s,
|
||||
Err(_) => break,
|
||||
};
|
||||
if stat.pr_type != wasi::PREOPENTYPE_DIR {
|
||||
if stat.tag != wasi::PREOPENTYPE_DIR {
|
||||
continue;
|
||||
}
|
||||
let mut dst = Vec::with_capacity(stat.u.dir.pr_name_len);
|
||||
|
||||
Reference in New Issue
Block a user