Skip to content

Commit d1e1233

Browse files
committed
chore: remove remnants of download-wasi-sdk recipe
1 parent bf62ac9 commit d1e1233

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

guests/python/Justfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export PYO3_CROSS_LIB_DIR := DOWNLOADS_DIR / "python-sdk"
1919
PYTHON_TMP_VENV := DOWNLOADS_DIR / "venv"
2020
PYTHON_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]
2624
download-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::

guests/python/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use std::{
1919
};
2020

2121
fn 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

0 commit comments

Comments
 (0)