File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ export PYO3_CROSS_LIB_DIR := DOWNLOADS_DIR / "python-sdk"
1919PYTHON_TMP_VENV := DOWNLOADS_DIR / " venv"
2020PYTHON_SITE_PACKAGES := PYO3_CROSS_LIB_DIR / " lib" / " python" + PYO3_CROSS_PYTHON_VERSION / " site-packages"
2121
22- export WASI_SDK_LINK_PATH := DOWNLOADS_DIR / " wasi-sysroot" / " lib" / " wasm32-wasip2"
23-
2422# download pre-built Python WASM SDK
2523[private ]
2624download-python-sdk :
@@ -124,7 +122,7 @@ python-site-packages: download-python-sdk
124122 echo ::endgroup::
125123
126124[private ]
127- build-lib profile : download-python-sdk download-wasi-sdk python-site-packages
125+ build-lib profile : download-python-sdk python-site-packages
128126 @ echo ::group::guests::python::build-lib {{ profile}}
129127 cargo build --target=wasm32 -wasip2 --profile={{ replace (profile, " debug" , " dev" )}}
130128 @ echo ::endgroup::
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ use std::{
1919} ;
2020
2121fn main ( ) {
22+ println ! ( "cargo:rerun-if-changed=build.rs" ) ;
2223 download_wasi_sdk ( ) . expect ( "WASI SDK download" ) ;
2324 configure_linker ( ) ;
2425 bundle_python_lib ( ) ;
@@ -34,8 +35,6 @@ fn download_wasi_sdk() -> Result<(), Box<dyn std::error::Error>> {
3435 const SHA256_WASI_SDK_SYSROOT : & str =
3536 "35172f7d2799485b15a46b1d87f50a585d915ec662080f005d99153a50888f08" ;
3637
37- println ! ( "cargo:rerun-if-changed=build.rs" ) ;
38-
3938 let downloads_dir = PathBuf :: from ( "downloads" ) ;
4039 std:: fs:: create_dir_all ( & downloads_dir) ?;
4140
You can’t perform that action at this time.
0 commit comments