We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37cb6e commit 03965f9Copy full SHA for 03965f9
.cargo/config.toml
@@ -1,2 +1,2 @@
1
-[target.wasm32-wasi]
+[target.wasm32-wasip1]
2
runner = ["./scripts/wasmtime-wrapper.sh"]
.github/workflows/ci.yml
@@ -118,7 +118,7 @@ jobs:
118
strategy:
119
fail-fast: false
120
matrix:
121
- target: [wasm32-wasi]
+ target: [wasm32-wasip1]
122
runs-on: ubuntu-latest
123
steps:
124
- name: Install rust
src/wasm_term.rs
@@ -10,11 +10,11 @@ pub const DEFAULT_WIDTH: u16 = 80;
10
11
#[inline]
12
pub fn is_a_terminal(_out: &Term) -> bool {
13
- #[cfg(target = "wasm32-wasi")]
+ #[cfg(target = "wasm32-wasip1")]
14
{
15
unsafe { libc::isatty(out.as_raw_fd()) != 0 }
16
}
17
- #[cfg(not(target = "wasm32-wasi"))]
+ #[cfg(not(target = "wasm32-wasip1"))]
18
19
false
20
0 commit comments