File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- [target .wasm32-wasi ]
1+ [target .wasm32-wasip1 ]
22runner = [" ./scripts/wasmtime-wrapper.sh" ]
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118118 strategy :
119119 fail-fast : false
120120 matrix :
121- target : [wasm32-wasi ]
121+ target : [wasm32-wasip1 ]
122122 runs-on : ubuntu-latest
123123 steps :
124124 - name : Install rust
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ pub const DEFAULT_WIDTH: u16 = 80;
1010
1111#[ inline]
1212pub fn is_a_terminal ( _out : & Term ) -> bool {
13- #[ cfg( target = "wasm32-wasi " ) ]
13+ #[ cfg( target = "wasm32-wasip1 " ) ]
1414 {
1515 unsafe { libc:: isatty ( out. as_raw_fd ( ) ) != 0 }
1616 }
17- #[ cfg( not( target = "wasm32-wasi " ) ) ]
17+ #[ cfg( not( target = "wasm32-wasip1 " ) ) ]
1818 {
1919 false
2020 }
You can’t perform that action at this time.
0 commit comments