summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2024-11-07 21:40:56 (GMT)
committerGitHub <noreply@github.com>2024-11-07 21:40:56 (GMT)
commitbbe9b21d06c192a616bc1720ec8f7d4ccc16cab8 (patch)
tree63c33621f4828461ae2da9e49dab4b9379dc22a8 /configure
parent1f777396f52a4cf7417f56097f10add8042295f4 (diff)
downloadcpython-bbe9b21d06c192a616bc1720ec8f7d4ccc16cab8.zip
cpython-bbe9b21d06c192a616bc1720ec8f7d4ccc16cab8.tar.gz
cpython-bbe9b21d06c192a616bc1720ec8f7d4ccc16cab8.tar.bz2
GH-123877: default to `wasm32-wasip1` instead of `wasm32-wasi` to be more specific (GH-126552)
Eventually wasm32-wasi will represent WASI 1.0, and so it's currently deprecated so it can be used for that eventual purpose. wasm32-wasip1 is also more specific to what version of WASI is currently supported. --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 1d5c094..71ffe9c 100755
--- a/configure
+++ b/configure
@@ -4062,7 +4062,7 @@ then
*-*-emscripten)
ac_sys_system=Emscripten
;;
- *-*-wasi)
+ *-*-wasi*)
ac_sys_system=WASI
;;
*)
@@ -7086,7 +7086,7 @@ case $host/$ac_cv_cc_name in #(
PY_SUPPORT_TIER=2 ;; #(
powerpc64le-*-linux-gnu/gcc) :
PY_SUPPORT_TIER=2 ;; #(
- wasm32-unknown-wasi/clang) :
+ wasm32-unknown-wasip1/clang) :
PY_SUPPORT_TIER=2 ;; #(
x86_64-*-linux-gnu/clang) :
PY_SUPPORT_TIER=2 ;; #(
@@ -7792,7 +7792,7 @@ then :
fi
;; #(
WASI/*) :
- HOSTRUNNER='wasmtime run --wasm max-wasm-stack=16777216 --wasi preview2 --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #(
+ HOSTRUNNER='wasmtime run --wasm max-wasm-stack=16777216 --wasi preview2=n --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #(
*) :
HOSTRUNNER=''
;;