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 ]
2
2
runner = [" ./scripts/wasmtime-wrapper.sh" ]
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118
118
strategy :
119
119
fail-fast : false
120
120
matrix :
121
- target : [wasm32-wasi ]
121
+ target : [wasm32-wasip1 ]
122
122
runs-on : ubuntu-latest
123
123
steps :
124
124
- name : Install rust
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ pub const DEFAULT_WIDTH: u16 = 80;
10
10
11
11
#[ inline]
12
12
pub fn is_a_terminal ( _out : & Term ) -> bool {
13
- #[ cfg( target = "wasm32-wasi " ) ]
13
+ #[ cfg( target = "wasm32-wasip1 " ) ]
14
14
{
15
15
unsafe { libc:: isatty ( out. as_raw_fd ( ) ) != 0 }
16
16
}
17
- #[ cfg( not( target = "wasm32-wasi " ) ) ]
17
+ #[ cfg( not( target = "wasm32-wasip1 " ) ) ]
18
18
{
19
19
false
20
20
}
You can’t perform that action at this time.
0 commit comments