| /third_party/rust/crates/clap/.github/workflows/ |
| D | ci.yml | 7 - cron: '3 3 3 * *' 17 runs-on: ubuntu-latest 19 - name: Done 27 - build: linux 28 os: ubuntu-latest 30 features: "full" 31 - build: windows 32 os: windows-latest 34 features: "full" 35 - build: mac [all …]
|
| /third_party/rust/rust/library/portable-simd/.github/workflows/ |
| D | ci.yml | 7 - master 16 runs-on: ubuntu-latest 19 - uses: actions/checkout@v2 20 - name: Setup Rust 22 rustup update nightly --no-self-update 25 - name: Run rustfmt 26 run: cargo fmt --all -- --check 30 runs-on: ubuntu-latest 32 fail-fast: false 35 … # We shouldn't really have any OS-specific code, so think of this as a list of architectures [all …]
|
| /third_party/rust/crates/memchr/.github/workflows/ |
| D | ci.yml | 5 - master 8 - master 10 - cron: '00 01 * * *' 15 # For some builds, we use cross to test on 32-bit and big-endian 18 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`. 22 runs-on: ${{ matrix.os }} 26 - pinned 27 - stable 28 - stable-32 29 - stable-mips [all …]
|
| /third_party/rust/crates/clap/ |
| D | Makefile | 4 # - Easy to debug: show the command being run 5 # - Leverage CI features: Only run individual steps so we can use features like reporting elapsed t… 7 ARGS?=--workspace 10 ARGS+=--target ${TOOLCHAIN_TARGET} 15 _FEATURES = minimal default wasm full debug release 16 _FEATURES_minimal = --no-default-features --features "std" 18 …asm = --no-default-features --features "std help usage error-context suggestions" --features "depr… 19 _FEATURES_full = --features "deprecated derive cargo env unicode string unstable-replace wrap_help" 20 _FEATURES_next = ${_FEATURES_full} --features unstable-v5 21 _FEATURES_debug = ${_FEATURES_full} --features debug --features clap_complete/debug [all …]
|
| /third_party/skia/m133/third_party/externals/harfbuzz/src/ |
| D | hb-wasm-api-shape.hh | 28 #include "hb-wasm-api.hh" 31 namespace wasm { namespace 39 ptr_d(const feature_t, features), in HB_WASM_INTERFACE() 43 if (unlikely (0 == strcmp (shaper, "wasm"))) in HB_WASM_INTERFACE() 49 /* Pre-conditions that make hb_shape_full() crash should be checked here. */ in HB_WASM_INTERFACE() 51 if (unlikely (!buffer->ensure_unicode ())) in HB_WASM_INTERFACE() 54 if (unlikely (!HB_DIRECTION_IS_VALID (buffer->props.direction))) in HB_WASM_INTERFACE() 57 HB_ARRAY_PARAM (const feature_t, features, num_features); in HB_WASM_INTERFACE() 58 if (unlikely (!features && num_features)) in HB_WASM_INTERFACE() 63 (hb_feature_t *) features, num_features, in HB_WASM_INTERFACE()
|
| D | hb-wasm-shape.cc | 30 #include "hb-shaper-impl.hh" 34 /* Compile wasm-micro-runtime with: 36 * $ cmake -DWAMR_BUILD_MULTI_MODULE=1 -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_FAST_JIT=1 39 * If you manage to build a wasm shared module successfully and want to use it, 42 * - Add -DWAMR_BUILD_MULTI_MODULE=1 to your cmake build for wasm-micro-runtime, 44 * - Remove the #define HB_WASM_NO_MODULES line below, 46 * - Install your shared module with name ending in .wasm in 47 * $(prefix)/$(libdir)/harfbuzz/wasm/ 49 * - Build your font's wasm code importing the shared modules with the desired 51 * before each symbol in the shared-module's headers. [all …]
|
| D | meson.build | 4 … command: [find_program('gen-hb-version.py'), meson.project_version(), '@OUTPUT@', '@INPUT@'], 5 input: 'hb-version.h.in', 6 output: 'hb-version.h', 10 # Base and default-included sources and headers 12 'hb-aat-layout-ankr-table.hh', 13 'hb-aat-layout-bsln-table.hh', 14 'hb-aat-layout-common.hh', 15 'hb-aat-layout-feat-table.hh', 16 'hb-aat-layout-just-table.hh', 17 'hb-aat-layout-kerx-table.hh', [all …]
|
| /third_party/rust/rust/library/portable-simd/crates/core_simd/ |
| D | Cargo.toml | 5 homepage = "https://github.com/rust-lang/portable-simd" 6 repository = "https://github.com/rust-lang/portable-simd" 8 categories = ["hardware-support", "no-std"] 9 license = "MIT OR Apache-2.0" 11 [features] 18 [target.'cfg(target_arch = "wasm32")'.dev-dependencies] 19 wasm-bindgen = "0.2" 20 wasm-bindgen-test = "0.3" 22 [dev-dependencies.proptest] 24 default-features = false [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyTargetMachine.cpp | 1 //===- WebAssemblyTargetMachine.cpp - Define TargetMachine for WebAssembly -==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// This file defines the WebAssembly-specific subclass of TargetMachine. 12 //===----------------------------------------------------------------------===// 34 #define DEBUG_TYPE "wasm" 36 // Emscripten's asm.js-style exception handling 38 "enable-emscripten-cxx-exceptions", 39 cl::desc("WebAssembly Emscripten-style exception handling"), 42 // Emscripten's asm.js-style setjmp/longjmp handling [all …]
|
| D | WebAssemblyAsmPrinter.cpp | 1 //===-- WebAssemblyAsmPrinter.cpp - WebAssembly LLVM assembly writer ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 /// representation of machine-dependent LLVM code to the WebAssembly assembly 14 //===----------------------------------------------------------------------===// 28 #include "llvm/BinaryFormat/Wasm.h" 49 #define DEBUG_TYPE "asm-printer" 53 //===----------------------------------------------------------------------===// 55 //===----------------------------------------------------------------------===// 58 const TargetRegisterInfo *TRI = Subtarget->getRegisterInfo(); in getRegType() [all …]
|
| /third_party/skia/m133/third_party/externals/harfbuzz/docs/ |
| D | wasm-shaper.md | 3 …ne in WebAssembly and embed it into your font! Any font which contains a `Wasm` table will be pass… 5 ## What you can and can't do: the WASM shaper's role in shaping 9 …to glyphs and positioning them. This is also all that you can do with the WASM shaper; you can inf… 11 ## The WASM shaper interface 13 …WASM code inside a font is expected to export a function called `shape` which takes five int32 arg… 19 * The number of features. 21 …WASM shaping involves receiving and manipulating a *buffer contents* structure, which is an array … 26 | - | - | - | 34 | - | - | - | 36 | uint32 | mask | Unused in WASM; can be user-defined | [all …]
|
| D | meson.build | 1 if not find_program('gtkdoc-scan', required: get_option('docs')).found() 2 message('Not building documentation as gtk-doc was not found') 18 'usermanual-what-is-harfbuzz.xml', 19 'usermanual-install-harfbuzz.xml', 20 'usermanual-getting-started.xml', 21 'usermanual-glyph-information.xml', 22 'usermanual-shaping-concepts.xml', 23 'usermanual-object-model.xml', 24 'usermanual-buffers-language-script-and-direction.xml', 25 'usermanual-fonts-and-faces.xml', [all …]
|
| /third_party/python/Tools/wasm/ |
| D | README.md | 1 # Python WebAssembly (WASM) build 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 9 use WASM runtimes such as *wasmtime*. 12 `Tools/wasm/wasm_build.py`. The tool automates the build process and provides 15 ## wasm32-emscripten build 18 target (``--with-emscripten-target=browser``) is optimized for browsers. 23 Cross compiling to the wasm32-emscripten platform needs the 29 build dependencies, WASI-SDK, wasmtime, and several additional tools. [all …]
|
| /third_party/rust/rust/compiler/rustc_target/src/spec/ |
| D | abi.rs | 13 // Some of the ABIs come first because every time we add a new ABI, we have to re-bless all the 34 Wasm, enumerator 44 pub fn supports_varargs(self) -> bool { in supports_varargs() 52 // * System can become Stdcall, so is also a no-no. in supports_varargs() 77 AbiData { abi: Abi::C { unwind: true }, name: "C-unwind" }, 79 AbiData { abi: Abi::Cdecl { unwind: true }, name: "cdecl-unwind" }, 81 AbiData { abi: Abi::Stdcall { unwind: true }, name: "stdcall-unwind" }, 83 AbiData { abi: Abi::Fastcall { unwind: true }, name: "fastcall-unwind" }, 85 AbiData { abi: Abi::Vectorcall { unwind: true }, name: "vectorcall-unwind" }, 87 AbiData { abi: Abi::Thiscall { unwind: true }, name: "thiscall-unwind" }, [all …]
|
| D | wasm64_unknown_unknown.rs | 1 //! A "bare wasm" target representing a WebAssembly output that makes zero 4 //! The `wasm64-unknown-unknown` target is intended to encapsulate use cases 6 //! entirely self-contained by default when using the standard library. Although 12 pub fn target() -> Target { in target() 21 "--no-entry", in target() 22 "-mwasm64", in target() 30 "--target=wasm64-unknown-unknown", in target() 31 "-Wl,--no-entry", in target() 36 // features since they were all merged into the official spec by the time in target() 38 options.features = "+bulk-memory,+mutable-globals,+sign-ext,+nontrapping-fptoint".into(); in target() [all …]
|
| /third_party/skia/modules/canvaskit/ |
| D | Makefile | 2 - rm -rf ../../out/canvaskit_wasm 3 - rm -rf ./npm_build/bin 4 - rm -rf ./build/ 10 - rm -rf build/ 13 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 18 - rm -rf build/ 21 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 26 - rm -rf build/ 29 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 34 - rm -rf build/ [all …]
|
| /third_party/skia/m133/modules/canvaskit/ |
| D | Makefile | 2 - rm -rf ../../out/canvaskit_wasm 3 - rm -rf ./npm_build/bin 4 - rm -rf ./build/ 10 - rm -rf build/ 13 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 18 - rm -rf build/ 21 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 26 - rm -rf build/ 29 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/ 34 - rm -rf build/ [all …]
|
| /third_party/skia/bazel/common_config_settings/ |
| D | BUILD.bazel | 53 # We define this here because the emscripten toolchain calls the cpu wasm, whereas the 54 # bazelbuild/platforms call it wasm32. https://github.com/emscripten-core/emsdk/issues/919 58 "cpu": "wasm", 63 # Configurable Skia Features 66 # off certain features, such as GPU backend, or codec support. 67 # https://docs.bazel.build/versions/4.2.1/skylark/config.html#using-build-settings-on-the-command-l… 69 # bazel build //:skia-core --//bazel/common_config_settings:gpu_backend=gl_backend \ 70 # --//bazel/common_config_settings:with_gl_standard=webgl_standard 72 # bazel build //:skia-core --gpu_backend=gl_backend --with_gl_standard=webgl_standard 74 # Developers can specify their own short-hands by making a .bazelrc file in their home [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
| D | WasmEmitter.cpp | 1 //===- yaml2wasm - Convert YAML to a Wasm object file --------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// The Wasm component of yaml2obj. 12 //===----------------------------------------------------------------------===// 15 #include "llvm/Object/Wasm.h" 24 /// This parses a yaml stream that represents a Wasm object file. 36 void writeInitExpr(raw_ostream &OS, const wasm::WasmInitExpr &InitExpr); 120 if (Lim.Flags & wasm::WASM_LIMITS_FLAG_HAS_MAX) in writeLimits() 131 const wasm::WasmInitExpr &InitExpr) { in writeInitExpr() [all …]
|
| D | WasmYAML.cpp | 1 //===- WasmYAML.cpp - Wasm YAMLIO implementation --------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines classes for handling the YAML representation of wasm. 11 //===----------------------------------------------------------------------===// 24 // http://llvm.org/docs/CodingStandards.html#provide-a-virtual-method-anchor-for-classes-in-headers 39 IO.mapTag("!WASM", true); in mapping() 87 IO.mapRequired("Features", Section.Features); in sectionMapping() 165 SectionType = Section->Type; in mapping() 170 case wasm::WASM_SEC_CUSTOM: { in mapping() [all …]
|
| /third_party/rust/rust/src/doc/rustc/src/platform-support/ |
| D | wasm64-unknown-unknown.md | 1 # `wasm64-unknown-unknown` 5 WebAssembly target which uses 64-bit memories, relying on the [memory64] 12 - Alex Crichton, https://github.com/alexcrichton 16 This target is cross-compiled. The target supports `std` in the same manner as 17 the `wasm32-unknown-unknown` target which is to say that it comes with the 21 `wasm32-unknown-unknown` target. This target comes by default with an allocator, 22 currently [dlmalloc] which is [ported to rust][dlmalloc-rs]. 25 [dlmalloc-rs]: https://github.com/alexcrichton/dlmalloc-rs 27 The difference of this target with `wasm32-unknown-unknown` is that it's 28 compiled for 64-bit memories instead of 32-bit memories. This means that `usize` [all …]
|
| /third_party/skia/m133/third_party/externals/harfbuzz/src/wasm/sample/c/ |
| D | shape-ot.cc | 3 #include <hb-wasm-api.h> 14 const feature_t *features, in shape() argument 17 return shape_with (font, buffer, features, num_features, "ot"); in shape()
|
| /third_party/rust/rust/library/std/ |
| D | Cargo.toml | 1 cargo-features = ["public-dependency"] 6 license = "MIT OR Apache-2.0" 7 repository = "https://github.com/rust-lang/rust.git" 12 crate-type = ["dylib", "rlib"] 16 cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] } 20 libc = { version = "0.2.146", default-features = false, features = ['rustc-dep-of-std'], public = t… 24 hashbrown = { version = "0.14", default-features = false, features = ['rustc-dep-of-std'] } 25 …ect = { path = "../stdarch/crates/std_detect", default-features = false, features = ['rustc-dep-of… 28 addr2line = { version = "0.21.0", optional = true, default-features = false } 29 rustc-demangle = { version = "0.1.21", features = ['rustc-dep-of-std'] } [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
| D | WasmYAML.h | 1 //===- WasmYAML.h - Wasm YAMLIO implementation ------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 /// of wasm binaries. 13 //===----------------------------------------------------------------------===// 19 #include "llvm/BinaryFormat/Wasm.h" 66 wasm::WasmInitExpr Offset; 74 wasm::WasmInitExpr InitExpr; 118 wasm::WasmInitExpr Offset; 146 SignatureForm Form = wasm::WASM_TYPE_FUNC; [all …]
|
| /third_party/rust/rust/compiler/rustc_codegen_llvm/src/ |
| D | attributes.rs | 37 fn inline_attr<'ll>(cx: &CodegenCx<'ll, '_>, inline: InlineAttr) -> Option<&'ll Attribute> { in inline_attr() 61 ) -> SmallVec<[&'ll Attribute; 4]> { in sanitize_attrs() 63 let enabled = cx.tcx.sess.opts.unstable_opts.sanitizer - no_sanitize; 81 let features = cx.tcx.global_backend_features(()); localVariable 83 features.iter().map(|s| &s[..]).rfind(|n| ["+mte", "-mte"].contains(&&n[..])); 84 if let None | Some("-mte") = mte_feature { 98 pub fn uwtable_attr(llcx: &llvm::Context) -> &Attribute { in uwtable_attr() 105 pub fn frame_pointer_type_attr<'ll>(cx: &CodegenCx<'ll, '_>) -> Option<&'ll Attribute> { in frame_pointer_type_attr() 115 FramePointer::NonLeaf => "non-leaf", in frame_pointer_type_attr() 118 Some(llvm::CreateAttrStringValue(cx.llcx, "frame-pointer", attr_value)) in frame_pointer_type_attr() [all …]
|