-
Notifications
You must be signed in to change notification settings - Fork 3
Build and test python #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
vidyalakshmir
wants to merge
22
commits into
main
Choose a base branch
from
cpython-build-test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ae4fa2c
WIP bootstrap_wasm.sh script for python
qianxichen233 958be01
finalize python build
qianxichen233 5f08eed
minor fix
qianxichen233 9975da1
add shared python build script
qianxichen233 01f82ec
add fPIC flag to python build
qianxichen233 75f4aad
add run script
qianxichen233 e0c6482
Cleaned up the python build scripts
vidyalakshmir a6b0be7
Removed optimizations to convert .wasm to .opt as signals are not sup…
vidyalakshmir bd8e805
Added python test scripts
vidyalakshmir 426a4a5
Use libm.cwasm while running python
vidyalakshmir d632a24
Perform postprocessing of static wasm python binary only for static b…
vidyalakshmir 3247b49
Create dynamic python binary and libpython library
vidyalakshmir 85a82f0
Removed unused flag
vidyalakshmir ebe4e72
Add python tests that works for static and dynamic builds
vidyalakshmir 0a0c80a
Add script to build python that does static or dynamic build based on…
vidyalakshmir 8a1337e
Add clean.sh that cleans up
vidyalakshmir 236ca2e
Stage to build/cpython directory
vidyalakshmir 9d1fcb1
Update python build target and add install-python target
vidyalakshmir 32d9bad
Add cpython to testable apps
vidyalakshmir a930b86
Remove sudo and some comments
vidyalakshmir 7ae86fe
Make scripts executable
vidyalakshmir 3403c35
Update python binary and libpython variables
vidyalakshmir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
|
|
||
| SRC="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
| BUILD="$SRC/build-native" | ||
|
|
||
| mkdir -p "$BUILD" | ||
| cd "$BUILD" | ||
|
|
||
| "$SRC/configure" --prefix="$BUILD/install" | ||
| make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu) | ||
|
|
||
| echo "native python: $BUILD/python" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,131 @@ | ||
| #!/bin/bash | ||
| set -euo pipefail | ||
|
|
||
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
| APPS_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" | ||
|
|
||
| # Default LIND_WASM_ROOT to parent directory (layout: lind-wasm/lind-wasm-apps) | ||
| if [[ -z "${LIND_WASM_ROOT:-}" ]]; then | ||
| LIND_WASM_ROOT="$(cd "$APPS_ROOT/.." && pwd)" | ||
| fi | ||
| SYSROOT="${LIND_WASM_ROOT}/src/glibc/sysroot" | ||
| LINDFS="${LIND_WASM_ROOT}/lindfs" | ||
| LIND_BOOT="${LIND_WASM_ROOT}/src/lind-boot/target/debug/lind-boot" | ||
| WASM_OPT="${LIND_WASM_ROOT}/tools/binaryen/bin/wasm-opt" | ||
|
|
||
| CLANG_BIN="${LIND_WASM_ROOT}/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04/bin/clang" | ||
|
|
||
| LIND_DYLINK="${LIND_DYLINK:-0}" | ||
| PYTHON_OUT_DIR="$APPS_ROOT/build/cpython" | ||
|
|
||
| cd $SCRIPT_DIR | ||
|
|
||
| echo "Starting python build process..." | ||
|
|
||
| # build native python if not exist | ||
| if [ ! -f "./build-native/python" ]; then | ||
| echo "Building native python" | ||
| ./build_python_native.sh | ||
| fi | ||
|
|
||
| # create wasi related placeholder library | ||
| llvm-ar crs "${SYSROOT}/lib/wasm32-wasi/libwasi-emulated-getpid.a" | ||
| llvm-ar crs "${SYSROOT}/lib/wasm32-wasi/libwasi-emulated-signal.a" | ||
| llvm-ar crs "${SYSROOT}/lib/wasm32-wasi/libwasi-emulated-process-clocks.a" | ||
|
|
||
| mkdir -p build-wasm | ||
| cd build-wasm | ||
|
|
||
| # run configure if Makefile does not exist | ||
| if [ ! -f "Makefile" ]; then | ||
| ../configure \ | ||
| --host=wasm32-unknown-wasi \ | ||
| --build=x86_64-unknown-linux-gnu \ | ||
| --with-build-python=../build-native/python \ | ||
| CC="${CLANG_BIN} \ | ||
| -pthread \ | ||
| --target=wasm32-unknown-wasi \ | ||
| --sysroot ${SYSROOT} \ | ||
| -Wl,--import-memory,--export-memory,--max-memory=67108864,--export=__stack_pointer,--export=__stack_low -D _FILE_OFFSET_BITS=64 -D __USE_LARGEFILE64 -g -O0 -fPIC" \ | ||
| ac_cv_func_working_mktime=yes \ | ||
| ac_cv_func_mmap_fixed_mapped=yes \ | ||
| bash_cv_func_sigsetjmp=no \ | ||
| ac_cv_func_localeconv=no \ | ||
| ac_cv_func_uselocale=no \ | ||
| ac_cv_func_setlocale=no \ | ||
| ac_cv_func_newlocale=no \ | ||
| ac_cv_have_chflags=no \ | ||
| ax_cv_c_float_words_bigendian=no \ | ||
| ac_cv_file__dev_ptmx=no \ | ||
| ac_cv_file__dev_ptc=no \ | ||
| ac_cv_func_memfd_create=no \ | ||
| ac_cv_func_eventfd=no \ | ||
| ac_cv_func_timerfd_create=no \ | ||
| --verbose | ||
| fi | ||
|
|
||
| # build python | ||
| make AR="llvm-ar" ARFLAGS="crs" | ||
|
|
||
| # install necessary files into lind filesystem | ||
| make install DESTDIR="${PYTHON_OUT_DIR}" | ||
|
|
||
|
|
||
| # 6. Apply wasm-opt (best-effort) | ||
| ############################################################################### | ||
|
|
||
| if [[ "$LIND_DYLINK" == "1" ]]; then | ||
| exit 0 | ||
| fi | ||
|
|
||
| PYTHON_WASM="$SCRIPT_DIR/build-wasm/python.wasm" | ||
| PYTHON_OPT_WASM="$SCRIPT_DIR/build-wasm/python.opt.wasm" | ||
| PYTHON_OPT_CWASM="$SCRIPT_DIR/build-wasm/python.opt.cwasm" | ||
|
|
||
| if [[ -x "$WASM_OPT" ]]; then | ||
| echo "[python] running wasm-opt (best-effort)..." | ||
|
|
||
| "$WASM_OPT" --epoch-injection --asyncify -O2 --debuginfo \ | ||
| "$PYTHON_WASM" -o "$PYTHON_OPT_WASM" | ||
| else | ||
| echo "[python] ERROR: wasm-opt not found; skipping optimization step and exiting." | ||
| exit 1 | ||
| fi | ||
|
|
||
| if [[ ! -f "$PYTHON_OPT_WASM" ]]; then | ||
| echo "[python] ERROR: Failed to generate $PYTHON_OPT_WASM; Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| # 7. cwasm generation via lind-boot (best-effort) | ||
| ############################################################################### | ||
| if [[ -x "$LIND_BOOT" ]]; then | ||
| echo "=> generating cwasm via lind-boot --precompile..." | ||
|
|
||
| # Pass the (potentially optimized) Wasm file to lind-boot | ||
| if "$LIND_BOOT" --precompile "$PYTHON_OPT_WASM"; then | ||
|
|
||
| if [[ -f "$PYTHON_OPT_CWASM" ]]; then | ||
| mkdir -p "$PYTHON_OUT_DIR/usr/local/bin" | ||
| cp "$PYTHON_OPT_CWASM" "$PYTHON_OUT_DIR/usr/local/bin/python" | ||
| echo "[python] python staged as $PYTHON_OUT_DIR/usr/local/bin/python" | ||
| else | ||
| echo "[python] ERROR: No .cwasm binary generated and no binaries copied to the build folder. Exiting .." | ||
| exit 1 | ||
| fi | ||
|
|
||
| else | ||
| echo "[python] ERROR: lind-boot --precompile failed; skipping cwasm generation." | ||
| echo "[python] ERROR: No binaries copied to the build folder. Exiting.." | ||
| exit 1 | ||
| fi | ||
| else | ||
| echo "[python] NOTE: lind-boot not found at '$LIND_BOOT'; skipping cwasm generation." | ||
| echo "[python] ERROR: No binaries copied to the build folder. Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo | ||
| echo "[python] build complete. Outputs under:" | ||
| echo " $PYTHON_OUT_DIR" | ||
| ls -lh "$PYTHON_OUT_DIR" || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,175 @@ | ||
| #!/bin/bash | ||
| set -euo pipefail | ||
|
|
||
| SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" | ||
| APPS_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" | ||
|
|
||
| if [[ -z "${LIND_WASM_ROOT:-}" ]]; then | ||
| LIND_WASM_ROOT="$(cd "$APPS_ROOT/.." && pwd)" | ||
| fi | ||
|
|
||
| LINDFS_ROOT="${LINDFS_ROOT:-$LIND_WASM_ROOT/lindfs}" | ||
|
|
||
| BUILD_WASM="$SCRIPT_DIR/build-wasm" | ||
| SYSROOT="$LIND_WASM_ROOT/src/glibc/sysroot" | ||
| LIND_BOOT="${LIND_WASM_ROOT}/src/lind-boot/target/debug/lind-boot" | ||
| CLANG_BIN="${LIND_WASM_ROOT}/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04/bin/clang" | ||
| WASM_OPT="${WASM_OPT:-$LIND_WASM_ROOT/tools/binaryen/bin/wasm-opt}" | ||
| ADD_EXPORT_TOOL="$LIND_WASM_ROOT/tools/add-export-tool/add-export-tool" | ||
|
|
||
| PYTHON_OUT_DIR="$APPS_ROOT/build/cpython" | ||
| STATIC_LIB="$BUILD_WASM/libpython3.14.a" | ||
| DYNAMIC_LIB_WASM="$BUILD_WASM/libpython3.14.wasm" | ||
| DYNAMIC_LIB_OPT="$BUILD_WASM/libpython3.14.opt.wasm" | ||
| DYNAMIC_LIB_OPT_CWASM="$BUILD_WASM/libpython3.14.opt.cwasm" | ||
| DYNAMIC_STAGED_LIB="$PYTHON_OUT_DIR/lib/libpython3.14.so" | ||
| mkdir -p "$PYTHON_OUT_DIR/lib" | ||
| mkdir -p "$PYTHON_OUT_DIR/usr/local/bin" | ||
| # compile shared libpython | ||
| $CLANG_BIN \ | ||
| --target=wasm32-unknown-wasi \ | ||
| -fPIC \ | ||
| --sysroot "$SYSROOT" \ | ||
| -fvisibility=default \ | ||
| -Wl,--import-memory \ | ||
| -Wl,--shared-memory \ | ||
| -Wl,--export-dynamic \ | ||
| -Wl,--experimental-pic \ | ||
| -Wl,--unresolved-symbols=import-dynamic \ | ||
| -Wl,-shared \ | ||
| -Wl,--whole-archive \ | ||
| "$STATIC_LIB" \ | ||
| -Wl,--no-whole-archive \ | ||
| "$LIND_WASM_ROOT/src/glibc/build/lind_debug.o" \ | ||
| -g -O0 -o "$DYNAMIC_LIB_WASM" || { echo "[python] ERROR: clang compilation failed"; exit 1; } | ||
|
|
||
|
|
||
| if [[ ! -f "$DYNAMIC_LIB_WASM" ]]; then | ||
| echo "[python] ERROR: Failed to generate '$DYNAMIC_LIB_WASM'; Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| "$ADD_EXPORT_TOOL" "$DYNAMIC_LIB_WASM" "$DYNAMIC_LIB_WASM" __wasm_apply_tls_relocs func __wasm_apply_tls_relocs optional || { echo "[python] ERROR: add-export-tool tls failed"; exit 1; } | ||
|
|
||
| "$ADD_EXPORT_TOOL" "$DYNAMIC_LIB_WASM" "$DYNAMIC_LIB_WASM" __wasm_apply_global_relocs func __wasm_apply_global_relocs optional || { echo "[python] ERROR: add-export-tool global failed"; exit 1; } | ||
|
|
||
| "$ADD_EXPORT_TOOL" "$DYNAMIC_LIB_WASM" "$DYNAMIC_LIB_WASM" __stack_pointer global __stack_pointer optional || { echo "[python] ERROR: add-export-tool stack pointer failed"; exit 1; } | ||
|
|
||
|
|
||
| $WASM_OPT --enable-bulk-memory --enable-threads --epoch-injection --pass-arg=epoch-import --asyncify --pass-arg=asyncify-import-globals -O2 --debuginfo "$DYNAMIC_LIB_WASM" -o "$DYNAMIC_LIB_OPT" || { echo "[python] ERROR: wasm-opt failed on '$DYNAMIC_LIB_OPT'; Exiting.."; exit 1; } | ||
|
|
||
| if [[ ! -f "$DYNAMIC_LIB_OPT" ]]; then | ||
| echo "[python] ERROR: Failed to generate '$DYNAMIC_LIB_OPT'; Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| # do precompile | ||
| $LIND_WASM_ROOT/scripts/lind_compile --precompile-only "$DYNAMIC_LIB_OPT"|| { echo "[python] ERROR: lind_compile failed on '$DYNAMIC_LIB_OPT_CWASM'; Exiting.."; exit 1; } | ||
|
|
||
| if [[ ! -f "$DYNAMIC_LIB_OPT_CWASM" ]]; then | ||
| echo "[python] ERROR: Failed to generate '$DYNAMIC_LIB_OPT_CWASM'; Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| cp "$DYNAMIC_LIB_OPT_CWASM" "$DYNAMIC_STAGED_LIB" | ||
| echo "[python] Dynamic shared library staged as $DYNAMIC_STAGED_LIB" | ||
|
|
||
|
|
||
|
|
||
| #compile shared python | ||
|
|
||
| PYTHON_WASM="$BUILD_WASM/python_shared.wasm" | ||
| PYTHON_OPT_WASM="$BUILD_WASM/python_shared.opt.wasm" | ||
| PYTHON_OPT_CWASM="$BUILD_WASM/python_shared.opt.cwasm" | ||
|
|
||
| $CLANG_BIN \ | ||
| -pthread \ | ||
| -fPIC \ | ||
| --target=wasm32-unknown-wasi \ | ||
| --sysroot "$SYSROOT" \ | ||
| -Wl,-pie \ | ||
| -Wl,--import-table \ | ||
| -Wl,--import-memory \ | ||
| -Wl,--export-memory \ | ||
| -Wl,--shared-memory \ | ||
| -Wl,--max-memory=67108864 \ | ||
| -Wl,--export=__stack_pointer \ | ||
| -Wl,--export=__stack_low \ | ||
| -Wl,--export=__wasm_call_ctors \ | ||
| -Wl,--export-if-defined=__wasm_init_tls \ | ||
| -Wl,--export=__tls_base \ | ||
| -Wl,--allow-undefined \ | ||
| -Wl,--unresolved-symbols=import-dynamic \ | ||
| -D _FILE_OFFSET_BITS=64 \ | ||
| -D __USE_LARGEFILE64 \ | ||
| -g -O0 \ | ||
| -o "$BUILD_WASM/python_shared.wasm" \ | ||
| "$BUILD_WASM/Programs/python.o" \ | ||
| "$BUILD_WASM/Modules/_hacl/libHacl_Hash_SHA2.a" \ | ||
| "$BUILD_WASM/Modules/_hacl/libHacl_Hash_SHA1.a" \ | ||
| "$BUILD_WASM/Modules/expat/libexpat.a" \ | ||
| "$BUILD_WASM/Modules/_hacl/libHacl_Hash_MD5.a" \ | ||
| "$BUILD_WASM/Modules/_hacl/libHacl_Hash_BLAKE2.a" \ | ||
| "$BUILD_WASM/Modules/_decimal/libmpdec/libmpdec.a" \ | ||
| "$BUILD_WASM/Modules/_hacl/libHacl_HMAC.a" \ | ||
| "$BUILD_WASM/Modules/_hacl/libHacl_Hash_SHA3.a" \ | ||
| -ldl -lwasi-emulated-signal -lwasi-emulated-getpid -lwasi-emulated-process-clocks -lpthread -lm | ||
|
|
||
|
|
||
| if [[ -x "$WASM_OPT" ]]; then | ||
| echo "[python] running wasm-opt (best-effort)..." | ||
|
|
||
| "$WASM_OPT" \ | ||
| --enable-bulk-memory --enable-threads \ | ||
| --epoch-injection --pass-arg=epoch-import --pass-arg=epoch-main-module \ | ||
| --asyncify --pass-arg=asyncify-import-globals \ | ||
| --debuginfo \ | ||
| "$PYTHON_WASM" -o "$PYTHON_OPT_WASM" || true | ||
| else | ||
| echo "[python] ERROR: wasm-opt not found; skipping optimization step and exiting." | ||
| exit 1 | ||
| fi | ||
|
|
||
| if [[ ! -f "$PYTHON_OPT_WASM" ]]; then | ||
| echo "[python] ERROR: Failed to generate $PYTHON_OPT_WASM; Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "[python] adding dylink exports via add-export-tool..." | ||
| "$ADD_EXPORT_TOOL" "$PYTHON_OPT_WASM" "$PYTHON_OPT_WASM" __wasm_apply_tls_relocs func __wasm_apply_tls_relocs optional | ||
| "$ADD_EXPORT_TOOL" "$PYTHON_OPT_WASM" "$PYTHON_OPT_WASM" __wasm_apply_global_relocs func __wasm_apply_global_relocs optional | ||
| "$ADD_EXPORT_TOOL" "$PYTHON_OPT_WASM" "$PYTHON_OPT_WASM" __stack_pointer global __stack_pointer | ||
|
|
||
| # 7. cwasm generation via lind-boot (best-effort) | ||
| ############################################################################### | ||
| if [[ -x "$LIND_BOOT" ]]; then | ||
| echo "=> generating cwasm via lind-boot --precompile..." | ||
|
|
||
| # Pass the (potentially optimized) Wasm file to lind-boot | ||
| if "$LIND_BOOT" --precompile "$PYTHON_OPT_WASM"; then | ||
|
|
||
| if [[ -f "$PYTHON_OPT_CWASM" ]]; then | ||
| cp "$PYTHON_OPT_CWASM" "$PYTHON_OUT_DIR/usr/local/bin/python" | ||
| echo "[python] python staged as $PYTHON_OUT_DIR/usr/local/bin/python" | ||
| else | ||
| echo "[python] ERROR: No .cwasm binary generated and no binaries copied to the build folder. Exiting .." | ||
| exit 1 | ||
| fi | ||
|
|
||
| else | ||
| echo "[python] ERROR: lind-boot --precompile failed; skipping cwasm generation." | ||
| echo "[python] ERROR: No binaries copied to the build folder. Exiting.." | ||
| exit 1 | ||
| fi | ||
| else | ||
| echo "[python] NOTE: lind-boot not found at '$LIND_BOOT'; skipping cwasm generation." | ||
| echo "[python] ERROR: No binaries copied to the build folder. Exiting.." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo | ||
| echo "[python] build complete. Outputs under:" | ||
| echo " $PYTHON_OUT_DIR" | ||
| ls -lh "$PYTHON_OUT_DIR" || true | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/bin/bash | ||
|
|
||
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
| APPS_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" | ||
| STAGE_DIR="$APPS_ROOT/build/cpython" | ||
|
|
||
| # Clean native and wasm build | ||
| rm -rf $SCRIPT_DIR/build-native | ||
| rm -rf $SCRIPT_DIR/build-wasm | ||
|
|
||
| # 3. Clean WASI placeholder libraries | ||
| rm -f "${SYSROOT}/lib/wasm32-wasi/libwasi-emulated-getpid.a" | ||
| rm -f "${SYSROOT}/lib/wasm32-wasi/libwasi-emulated-signal.a" | ||
| rm -f "${SYSROOT}/lib/wasm32-wasi/libwasi-emulated-process-clocks.a" | ||
|
|
||
|
|
||
| # Clean the Lind filesystem installation | ||
| sudo rm -rf "$STAGE_DIR" | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/bin/bash | ||
|
|
||
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
| $SCRIPT_DIR/build_python_native.sh | ||
| $SCRIPT_DIR/build_python_wasm.sh | ||
| if [[ "$LIND_DYLINK" == "1" ]]; then | ||
| $SCRIPT_DIR/build_shared_python_wasm.sh | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --wasi threads=y --wasi preview2=n --preload env=/lib/libc.so --preload env=/lib/libm.so --preload env=/lib/libpython3.14.so python.wasm pytests/add.py |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is redundent, should remove