| /third_party/python/Tools/wasm/ |
| D | README.md | 3 **WARNING: WASM support is work-in-progress! Lots of features are not working yet.** 6 compilation of CPython to WebAssembly (WASM). Python supports Emscripten 7 (*wasm32-emscripten*) and WASI (*wasm32-wasi*) targets. Emscripten builds 15 ## wasm32-emscripten build 17 For now the build system has two target flavors. The ``Emscripten/browser`` 18 target (``--with-emscripten-target=browser``) is optimized for browsers. 20 support. The ``Emscripten/node`` target has threading enabled and can 23 Cross compiling to the wasm32-emscripten platform needs the 24 [Emscripten](https://emscripten.org/) SDK and a build Python interpreter. 25 Emscripten 3.1.19 or newer are recommended. All commands below are relative [all …]
|
| D | config.site-wasm32-emscripten | 1 # config.site override for cross compiling to wasm32-emscripten platform 3 # CONFIG_SITE=Tools/wasm/config.site-wasm32-emscripten \ 4 # emconfigure ./configure --host=wasm32-unknown-emscripten --build=... 13 # Emscripten has no /dev/pt* 17 # dummy readelf, Emscripten build does not need readelf. 27 # unsupported syscall, https://github.com/emscripten-core/emscripten/issues/13393 57 # Syscalls not implemented in emscripten 77 # sockets are supported, but only AF_INET / AF_INET6 in non-blocking mode. 98 # Emscripten does not support hard links, always fails with errno 34 103 # Emscripten's faccessat does not accept AT_* flags.
|
| D | wasm_build.py | 4 $ ./Tools/wasm/wasm_builder.py emscripten-browser build repl 5 $ ./Tools/wasm/wasm_builder.py emscripten-node-dl build test 8 Primary build targets are "emscripten-node-dl" (NodeJS, dynamic linking), 9 "emscripten-browser", and "wasi". 11 Emscripten builds require a recent Emscripten SDK. The tools looks for an 16 and falls back to /opt/wasi-sdk. 21 ./Tools/wasm/wasm_builder.py --clean build build 55 # path to WASI-SDK root 56 WASI_SDK_PATH = pathlib.Path(os.environ.get("WASI_SDK_PATH", "/opt/wasi-sdk")) 58 # path to Emscripten SDK config file. [all …]
|
| /third_party/rust/crates/libc/ci/docker/wasm32-unknown-emscripten/ |
| D | Dockerfile | 7 RUN apt-get update 8 RUN apt-get install -y --no-install-recommends tzdata 9 RUN apt-get install -y --no-install-recommends \ 10 ca-certificates \ 17 libc6-dev \ 20 python3-distutils \ 24 xz-utils \ 27 RUN ln -s /usr/bin/python3 /usr/bin/python & \ 28 ln -s /usr/bin/pip3 /usr/bin/pip 29 COPY emscripten.sh / [all …]
|
| /third_party/rust/crates/libc/ |
| D | Cargo.toml | 5 license = "MIT OR Apache-2.0" 7 repository = "https://github.com/rust-lang/libc" 8 homepage = "https://github.com/rust-lang/libc" 11 categories = ["external-ffi-bindings", "no-std", "os"] 19 features = ["const-extern-fn", "extra_traits"] 20 default-target = "x86_64-unknown-linux-gnu" 22 "aarch64-apple-darwin", 23 "aarch64-apple-ios", 24 "aarch64-linux-android", 25 "aarch64-pc-windows-msvc", [all …]
|
| /third_party/rust/crates/libc/libc-test/semver/ |
| D | TODO-unix.txt | 1 # These symbols are no-op or missing on these targets: 2 # * wasm32-unknown-emscripten
|
| /third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
| D | wasm-constructor-returns.hpp | 1 // bindgen-flags: --generate constructors,types -- -fvisibility=default --target=wasm32-unknown-ems…
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyISelDAGToDAG.cpp | 1 //- WebAssemblyISelDAGToDAG.cpp - A dag to dag inst selector for WebAssembly -// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 27 #define DEBUG_TYPE "wasm-isel" 29 //===--------------------------------------------------------------------===// 30 /// WebAssembly-specific code to select WebAssembly machine instructions for 57 if (Subtarget->hasAddr64()) in runOnMachineFunction() 59 "64-bit WebAssembly (wasm64) is not currently supported"); in runOnMachineFunction() 79 if (Node->isMachineOpcode()) { in Select() [all …]
|
| D | README.txt | 1 //===-- README.txt - Notes for WebAssembly code gen -----------------------===// 7 using it through "clang -c", so this backend is not yet considered widely 11 Emscripten provides a C/C++ compilation environment that includes standard 14 Emscripten documentation in general, and this page in particular: 16 * https://github.com/kripken/emscripten/wiki/New-WebAssembly-Backend 20 - wasm32-unknown-unknown, which provides a relatively minimal environment 22 - wasm32-unknown-emscripten, which uses Emscripten internally and 34 Work-in-progress documentation for the ".o" file format is here: 36 * https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md 51 https://wasm-stat.us [all …]
|
| /third_party/rust/crates/serde/serde/ |
| D | build.rs | 5 // The rustc-cfg strings below are *not* public API. Please let us know by 9 println!("cargo:rerun-if-changed=build.rs"); in main() 17 let emscripten = target == "asmjs-unknown-emscripten" || target == "wasm32-unknown-emscripten"; in main() localVariable 19 // TryFrom, Atomic types, non-zero signed integers, and SystemTime::checked_add in main() 21 // https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html#tryfrom-and-tryinto in main() 22 // https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html#library-stabilizations in main() 24 println!("cargo:rustc-cfg=no_core_try_from"); in main() 25 println!("cargo:rustc-cfg=no_num_nonzero_signed"); in main() 26 println!("cargo:rustc-cfg=no_systemtime_checked_add"); in main() 27 println!("cargo:rustc-cfg=no_relaxed_trait_bounds"); in main() [all …]
|
| /third_party/rust/crates/libc/ci/ |
| D | build.sh | 8 set -ex 18 rustup component add rust-src 32 until [ $n -ge $N ] 34 if rustup target add "${TARGET}" --toolchain "${RUST}" ; then 44 cargo "+${RUST}" "${BUILD_CMD}" -vv --no-default-features --target "${TARGET}" 46 # FIXME: With `build-std` feature, `compiler_builtins` emits a lof of lint warnings. 47 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \ 48 -Z build-std=core,alloc -vv --no-default-features --target "${TARGET}" 53 cargo "+${RUST}" "${BUILD_CMD}" -vv --target "${TARGET}" 55 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \ [all …]
|
| /third_party/rust/crates/libc/.github/workflows/ |
| D | bors.yml | 6 - auto-libc 7 - try 13 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds) 17 runs-on: ubuntu-22.04 19 fail-fast: true 22 i686-unknown-linux-gnu, 23 x86_64-unknown-linux-gnu, 26 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master 29 - uses: actions/checkout@v3 30 - name: Setup Rust toolchain [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | Triple.cpp | 1 //===--- Triple.cpp - Target triple helper class --------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 21 case UnknownArch: return "unknown"; in getArchTypeName() 69 case wasm32: return "wasm32"; in getArchTypeName() 143 case wasm32: in getArchTypePrefix() 155 case UnknownVendor: return "unknown"; in getVendorTypeName() 180 case UnknownOS: return "unknown"; in getOSTypeName() 193 case Emscripten: return "emscripten"; in getOSTypeName() 224 case UnknownEnvironment: return "unknown"; in getEnvironmentTypeName() [all …]
|
| /third_party/rust/crates/rustix/.github/workflows/ |
| D | main.yml | 6 - main 13 runs-on: ubuntu-latest 15 - uses: actions/checkout@v3 18 - uses: ./.github/actions/install-rust 21 - run: cargo fmt --all -- --check 25 runs-on: ${{ matrix.os }} 30 - build: stable 31 os: ubuntu-latest 33 - build: nightly 34 os: ubuntu-latest [all …]
|
| /third_party/python/ |
| D | configure.ac | 2 dnl * Please run autoreconf -if to test your changes! * 5 dnl Python's configure.ac file requires autoconf 2.69 and autoconf-archive. 18 [AC_MSG_ERROR([Please install autoconf-archive package and re-run autoreconf])] 23 [AC_MSG_ERROR([Please install pkgconf's m4 macro package and re-run autoreconf])] 27 dnl - _SAVE_VAR([VAR]) Helper for SAVE_ENV; stores VAR as save_VAR 28 dnl - _RESTORE_VAR([VAR]) Helper for RESTORE_ENV; restores VAR from save_VAR 29 dnl - SAVE_ENV Saves CFLAGS, LDFLAGS, LIBS, and CPPFLAGS 30 dnl - RESTORE_ENV Restores CFLAGS, LDFLAGS, LIBS, and CPPFLAGS 31 dnl - WITH_SAVE_ENV([SCRIPT]) Runs SCRIPT wrapped with SAVE_ENV/RESTORE_ENV 52 dnl PY_CHECK_FUNC(FUNCTION, [INCLUDES], [AC_DEFINE-VAR]) [all …]
|
| D | config.sub | 3 # Copyright 1992-2021 Free Software Foundation, Inc. 7 timestamp='2021-08-14' 30 # Please send patches to <config-patches@gnu.org>. 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still 60 # have a pre-POSIX /bin/sh. 62 me=`echo "$0" | sed -e 's,.*/,,'` [all …]
|
| D | configure | 2 # Guess values for system-dependent variables and create Makefiles. 8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 14 ## -------------------- ## 16 ## -------------------- ## 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 alias -g '${1+"$@"}'='"$@"' 30 case `(set -o) 2>/dev/null` in #( 32 set -o posix ;; #( 46 # Quoting is to prevent editors from complaining about space-tab. 56 # Ensure predictable behavior from utilities with locale-dependent output. [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
| D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 22 /// Triple - Helper class for working with autoconf configuration names. For 27 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM 29 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT 38 /// Clients that need to handle the non-canonical triples that users often 55 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian) 56 bpfeb, // eBPF or extended BPF or 64-bit BPF (big endian) 66 r600, // R600: AMD GPUs HD2XXX - HD6XXX [all …]
|
| /third_party/python/Doc/library/ |
| D | os.rst | 1 :mod:`os` --- Miscellaneous operating system interfaces 9 -------------- 16 module, and for high-level file and directory handling see the :mod:`shutil` 21 * The design of all built-in operating system dependent modules of Python is 37 * On WebAssembly platforms ``wasm32-emscripten`` and ``wasm32-wasi``, large 53 An alias for the built-in :exc:`OSError` exception. 64 system-dependent version information. 70 .. _os-filenames: 71 .. _filesystem-encoding: 74 ------------------------------------------------------------- [all …]
|
| D | sys.rst | 1 :mod:`sys` --- System-specific parameters and functions 5 :synopsis: Access system-specific parameters and functions. 7 -------------- 42 function. At a minimum, any security-sensitive hooks must be added using the 47 .. audit-event:: sys.addaudithook "" sys.addaudithook 56 See the :ref:`audit events table <audit-events>` for all events raised by 66 .. impl-detail:: 77 not). If the command was executed using the :option:`-c` command line option to 78 the interpreter, ``argv[0]`` is set to the string ``'-c'``. If no script name 110 the event name and arguments, and will re-raise the first exception [all …]
|
| /third_party/python/Doc/using/ |
| D | configure.rst | 5 .. _configure-options: 12 ./configure --help 17 --------------- 19 .. cmdoption:: --enable-loadable-sqlite-extensions 29 .. cmdoption:: --disable-ipv6 34 .. cmdoption:: --enable-big-digits=[15|30] 44 .. cmdoption:: --with-cxx-main 45 .. cmdoption:: --with-cxx-main=COMPILER 50 .. cmdoption:: --with-suffix=SUFFIX 55 executable), ``.js`` on Emscripten node, ``.html`` on Emscripten browser, [all …]
|
| /third_party/libevdev/build-aux/ |
| D | config.sub | 3 # Copyright 1992-2022 Free Software Foundation, Inc. 7 timestamp='2022-01-03' 30 # Please send patches to <config-patches@gnu.org>. 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still 60 # have a pre-POSIX /bin/sh. 62 me=`echo "$0" | sed -e 's,.*/,,'` [all …]
|
| /third_party/curl/ |
| D | config.sub | 3 # Copyright 1992-2022 Free Software Foundation, Inc. 7 timestamp='2022-01-03' 30 # Please send patches to <config-patches@gnu.org>. 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still 60 # have a pre-POSIX /bin/sh. 62 me=`echo "$0" | sed -e 's,.*/,,'` [all …]
|
| /third_party/icu/icu4c/source/ |
| D | config.sub | 3 # Copyright 1992-2022 Free Software Foundation, Inc. 7 timestamp='2022-01-03' 30 # Please send patches to <config-patches@gnu.org>. 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still 60 # have a pre-POSIX /bin/sh. 62 me=`echo "$0" | sed -e 's,.*/,,'` [all …]
|
| /third_party/python/Lib/ |
| D | subprocess.py | 1 # subprocess - Subprocesses with accessible I/O streams 5 # Copyright (c) 2003-2005 by Peter Astrand <astrand@lysator.liu.se> 23 --------- 69 # use presence of msvcrt to detect Windows-like platforms (see bpo-8110) 77 # wasm32-emscripten and wasm32-wasi do not support processes 78 _can_fork_exec = sys.platform not in {"emscripten", "wasi"} 128 returns a non-zero exit status. 143 self.cmd, signal.Signals(-self.returncode)) 145 return "Command '%s' died with unknown signal %d." % ( 146 self.cmd, -self.returncode) [all …]
|