| /external/angle/build/rust/std/rules/ |
| D | BUILD.gn | 2 # Use of this source code is governed by a BSD-style license that can be 5 # @generated from build/rust/std/BUILD.gn.hbs by tools/crates/gnrt. Do not edit! 7 import("//build/rust/cargo_crate.gni") 11 …crate_root = "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/lib.rs" 13 …"//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/builtin_split_dwarf… 14 "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/function.rs", 15 "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/lazy.rs", 16 "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/lib.rs", 21 # Unit tests skipped. Generate with --with-tests to include them. 27 "A cross-platform symbolication library written in Rust, using `gimli`" [all …]
|
| /external/cronet/build/rust/std/rules/ |
| D | BUILD.gn | 2 # Use of this source code is governed by a BSD-style license that can be 5 # @generated from build/rust/std/BUILD.gn.hbs by tools/crates/gnrt. Do not edit! 7 import("//build/rust/cargo_crate.gni") 11 …crate_root = "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/lib.rs" 13 …"//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/builtin_split_dwarf… 14 "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/function.rs", 15 "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/lazy.rs", 16 "//third_party/rust-toolchain/lib/rustlib/src/rust/vendor/addr2line-0.21.0/src/lib.rs", 21 # Unit tests skipped. Generate with --with-tests to include them. 27 "A cross-platform symbolication library written in Rust, using `gimli`" [all …]
|
| /external/rust/crates/syn/tests/repo/ |
| D | mod.rs | 22 "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0085_expr_literals.rs", 26 "tests/ui/explicit-tail-calls/return-lifetime-sub.rs", 28 // TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait` 30 "tests/rustdoc-json/non_lifetime_binders.rs", 35 …"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0208_associated_return_type_boun… 36 "tests/ui/associated-type-bounds/return-type-notation/basic.rs", 37 "tests/ui/feature-gates/feature-gate-return_type_notation.rs", 39 // Compile-fail expr parameter in const generic position: f::<1 + 2>() 40 "tests/ui/const-generics/early/closing-args-token.rs", 41 "tests/ui/const-generics/early/const-expression-parameter.rs", [all …]
|
| /external/cronet/third_party/boringssl/ |
| D | BUILD.gn | 2 # Use of this source code is governed by a BSD-style license that can be 15 import("//build/rust/cargo_crate.gni") 16 import("//build/rust/rust_bindgen.gni") 21 include_dirs = [ "src/include" ] 61 header = "src/rust/bssl-sys/wrapper.h" 64 "no-derive-default", 65 "enable-function-attribute-detection", 66 "use-core", 67 "default-macro-constant-type=signed", 68 "rustified-enum=point_conversion_form_t", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_combined_features/ |
| D | metadata.json | 10 "no-std" 19 "id": "assign 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 26 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/assign-1.1.1/Cargo.to… 33 "source": "registry+https://github.com/rust-lang/crates.io-index", 46 … "src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/assign-1.1.1/src/lib.rs", 57 "development-tools::build-utils" 61 "description": "Automatic cfg for Rust compiler features", 66 "id": "autocfg 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 72 "license": "Apache-2.0 OR MIT", 75 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/Cargo.t… [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_renamed_optional_deps_disabled/ |
| D | metadata.json | 9 "date-and-time" 21 "source": "registry+https://github.com/rust-lang/crates.io-index", 26 "description": "Parser for the Android-specific tzdata file", 31 "id": "android-tzdata 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 37 "license": "MIT OR Apache-2.0", 40 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/android-tzdata-0.1.1/… 42 "name": "android-tzdata", 45 "repository": "https://github.com/RumovZ/android-tzdata", 47 "source": "registry+https://github.com/rust-lang/crates.io-index", 59 "name": "android-tzdata", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_optional_deps_disabled_build_dep_enabled/ |
| D | metadata.json | 17 "source": "registry+https://github.com/rust-lang/crates.io-index", 27 …"id": "crate-with-optional-deps 0.1.0 (path+file://{TEMP_DIR}/crate_optional_deps_disabled_build_d… 34 "name": "crate-with-optional-deps", 51 "name": "crate-with-optional-deps", 64 "parser-implementations" 76 "source": "registry+https://github.com/rust-lang/crates.io-index", 88 "source": "registry+https://github.com/rust-lang/crates.io-index", 102 "source": "registry+https://github.com/rust-lang/crates.io-index", 114 "source": "registry+https://github.com/rust-lang/crates.io-index", 126 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/build_scripts/ |
| D | metadata.json | 6 "The Rust Project Developers" 9 "no-std" 21 "source": "registry+https://github.com/rust-lang/crates.io-index", 28 "name": "rustc-std-workspace-core", 33 "source": "registry+https://github.com/rust-lang/crates.io-index", 45 "source": "registry+https://github.com/rust-lang/crates.io-index", 57 "source": "registry+https://github.com/rust-lang/crates.io-index", 69 "source": "registry+https://github.com/rust-lang/crates.io-index", 81 "source": "registry+https://github.com/rust-lang/crates.io-index", 93 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_renamed_optional_deps_enabled/ |
| D | metadata.json | 11 "no-std", 12 "parser-implementations" 16 …Rust implementation of Base16 a.k.a hexadecimal (RFC 4648) which avoids\nany usages of data-depend… 26 "id": "base16ct 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 32 "license": "Apache-2.0 OR MIT", 35 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/base16ct-0.2.0/Cargo.… 39 "all-features": true, 40 "rustdoc-args": [ 41 "--cfg", 52 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/aliases/ |
| D | metadata.json | 17 "source": "registry+https://github.com/rust-lang/crates.io-index", 29 "source": "registry+https://github.com/rust-lang/crates.io-index", 41 "source": "registry+https://github.com/rust-lang/crates.io-index", 60 "name": "value-bag", 64 "req": "=1.0.0-alpha.7", 65 "source": "registry+https://github.com/rust-lang/crates.io-index", 116 "name": "hermit-abi", 121 "source": "registry+https://github.com/rust-lang/crates.io-index", 133 "source": "registry+https://github.com/rust-lang/crates.io-index", 151 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_types/ |
| D | metadata.json | 9 "development-tools::build-utils" 13 "description": "Automatic cfg for Rust compiler features", 18 "id": "autocfg 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 24 "license": "Apache-2.0 OR MIT", 27 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.0.1/Cargo.t… 34 "source": "registry+https://github.com/rust-lang/crates.io-index", 47 … "src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.0.1/src/lib.rs", 61 …"src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.0.1/examples/int… 75 …"src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.0.1/examples/pat… 89 …"src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.0.1/examples/ver… [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_optional_deps_enabled/ |
| D | metadata.json | 6 "The Rust Project Developers" 9 "no-std" 21 "source": "registry+https://github.com/rust-lang/crates.io-index", 28 "name": "rustc-std-workspace-core", 33 "source": "registry+https://github.com/rust-lang/crates.io-index", 45 "source": "registry+https://github.com/rust-lang/crates.io-index", 57 "source": "registry+https://github.com/rust-lang/crates.io-index", 69 "source": "registry+https://github.com/rust-lang/crates.io-index", 81 "source": "registry+https://github.com/rust-lang/crates.io-index", 93 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/workspace/ |
| D | metadata.json | 10 "data-structures", 11 "no-std" 23 "source": "registry+https://github.com/rust-lang/crates.io-index", 35 "source": "registry+https://github.com/rust-lang/crates.io-index", 47 "source": "registry+https://github.com/rust-lang/crates.io-index", 59 "source": "registry+https://github.com/rust-lang/crates.io-index", 66 "name": "no-panic", 71 "source": "registry+https://github.com/rust-lang/crates.io-index", 83 "source": "registry+https://github.com/rust-lang/crates.io-index", 95 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/target_features/ |
| D | metadata.json | 10 "data-structures", 11 "no-std" 23 "source": "registry+https://github.com/rust-lang/crates.io-index", 35 "source": "registry+https://github.com/rust-lang/crates.io-index", 47 "source": "registry+https://github.com/rust-lang/crates.io-index", 59 "source": "registry+https://github.com/rust-lang/crates.io-index", 66 "name": "no-panic", 71 "source": "registry+https://github.com/rust-lang/crates.io-index", 83 "source": "registry+https://github.com/rust-lang/crates.io-index", 95 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/bazelbuild-rules_rust/test/unit/repository_utils/ |
| D | repository_utils_test.bzl | 4 load("//rust/platform:triple.bzl", "triple") 6 # buildifier: disable=bzl-visibility 8 "//rust/private:repository_utils.bzl", 15 _PLATFORM_TRIPLE = triple("x86_64-unknown-linux-gnu") 21 "2020-05-22/rust-std-nightly-x86_64-unknown-linux-gnu", 23 iso_date = "2020-05-22", 24 tool_name = "rust-std", 31 "rust-std-nightly-x86_64-unknown-linux-gnu", 33 tool_name = "rust-std", 40 "2020-05-22/rust-src-nightly", [all …]
|
| /external/rust/cxx/book/src/ |
| D | tutorial.md | 1 {{#title Tutorial — Rust ♡ C++}} 4 This example walks through a Rust application that calls into a C++ client of a 5 blobstore service. In fact we'll see calls going in both directions: Rust to C++ 6 as well as C++ to Rust. For your own use case it may be that you need just one 19 We'll use Cargo, which is the build system commonly used by open source Rust 22 Create a blank Cargo project: `mkdir cxx-demo`; `cd cxx-demo`; `cargo init`. 29 ...name = "cxx-demo" 43 in a Rust module annotated with the `#[cxx::bridge]` attribute macro. 45 We'll open with just the following at the top of src/main.rs and walk through 48 ```rust,noplayground [all …]
|
| D | index.md | 2 …src="https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github"… 5 # CXX — safe interop between Rust and C++ 7 This library provides a safe mechanism for calling C++ code from Rust and Rust 8 code from C++. It carves out a regime of commonality where Rust and C++ are 12 interface over unsafe C-style signatures. 19 of the types and function signatures to protect both Rust's and C++'s 34 In this example we are writing a Rust application that calls a C++ client of a 35 large-file blobstore service. The blobstore supports a `put` operation for a 40 ```rust,noplayground 43 extern "Rust" { [all …]
|
| /external/rust/crates/winnow/examples/ndjson/ |
| D | example.ndjson | 1 …-artifact","package_id":"proc-macro2 1.0.46 (registry+https://github.com/rust-lang/crates.io-index… 2 …-script-executed","package_id":"proc-macro2 1.0.46 (registry+https://github.com/rust-lang/crates.i… 3 …-artifact","package_id":"quote 1.0.21 (registry+https://github.com/rust-lang/crates.io-index)","ma… 4 …-artifact","package_id":"libc 0.2.139 (registry+https://github.com/rust-lang/crates.io-index)","ma… 5 …-artifact","package_id":"unicode-ident 1.0.5 (registry+https://github.com/rust-lang/crates.io-inde… 6 …-artifact","package_id":"proc-macro2 1.0.46 (registry+https://github.com/rust-lang/crates.io-index… 7 …-script-executed","package_id":"libc 0.2.139 (registry+https://github.com/rust-lang/crates.io-inde… 8 …-script-executed","package_id":"quote 1.0.21 (registry+https://github.com/rust-lang/crates.io-inde… 9 …-artifact","package_id":"syn 1.0.102 (registry+https://github.com/rust-lang/crates.io-index)","man… 10 …-artifact","package_id":"cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)","ma… [all …]
|
| /external/toolchain-utils/rust_tools/ |
| D | rust_uprev_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 19 # rust_uprev sets SOURCE_ROOT to the output of `repo --show-toplevel`. 56 def test_fetch_difstfile_fail(self, *_args) -> None: 69 def test_fetch_distfile_acl_access_denied(self, *_args) -> None: 81 def test_fetch_distfile_acl_ok(self, *_args) -> None: 93 def test_fetch_distfile_acl_wrong(self, *_args) -> None: 106 def setUp(self) -> None: 132 def fake_urlretrieve(src: str, dest: Path) -> None: 140 if "--verify" in cmd: 147 "fakehttps://rustc-1.60.3-src.tar.gz", [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/target_cfg_features/ |
| D | metadata.json | 9 "development-tools::build-utils" 13 "description": "Automatic cfg for Rust compiler features", 18 "id": "autocfg 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 24 "license": "Apache-2.0 OR MIT", 27 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/Cargo.t… 34 "source": "registry+https://github.com/rust-lang/crates.io-index", 47 … "src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/src/lib.rs", 61 …"src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/examples/int… 75 …"src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/examples/pat… 89 …"src_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/examples/ver… [all …]
|
| /external/rust/crates/fs-err/src/os/ |
| D | windows.rs | 1 /// Windows-specific extensions to wrappers in `fs_err` for `std::fs` types. 9 …/// Wrapper for [std::os::windows::fs::symlink_dir](https://doc.rust-lang.org/std/os/windows/fs/fn… 10 pub fn symlink_dir<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> { in symlink_dir() 11 let src = src.as_ref(); in symlink_dir() localVariable 13 std::os::windows::fs::symlink_dir(src, dst) in symlink_dir() 14 .map_err(|err| SourceDestError::build(err, SourceDestErrorKind::SymlinkDir, src, dst)) in symlink_dir() 17 /// Creates a new symlink to a non-directory file on the filesystem. 19 …/// Wrapper for [std::os::windows::fs::symlink_file](https://doc.rust-lang.org/std/os/windows/fs/f… 20 pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> { in symlink_file() 21 let src = src.as_ref(); in symlink_file() localVariable [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/git_repos/ |
| D | metadata.json | 19 "source": "registry+https://github.com/rust-lang/crates.io-index", 26 "name": "rustc-std-workspace-core", 31 "source": "registry+https://github.com/rust-lang/crates.io-index", 36 …tem depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first… 37 "documentation": "https://docs.rs/cfg-if", 46 "rustc-dep-of-std": [ 51 "homepage": "https://github.com/alexcrichton/cfg-if", 52 "id": "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 54 "license": "MIT/Apache-2.0", 57 …"manifest_path": "{CARGO_HOME}/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-1.0.0/Cargo.to… [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/test_data/metadata/crate_optional_deps_disabled/ |
| D | metadata.json | 6 "The Rust Project Developers" 9 "no-std" 21 "source": "registry+https://github.com/rust-lang/crates.io-index", 28 "name": "rustc-std-workspace-core", 33 "source": "registry+https://github.com/rust-lang/crates.io-index", 45 "source": "registry+https://github.com/rust-lang/crates.io-index", 57 "source": "registry+https://github.com/rust-lang/crates.io-index", 69 "source": "registry+https://github.com/rust-lang/crates.io-index", 81 "source": "registry+https://github.com/rust-lang/crates.io-index", 93 "source": "registry+https://github.com/rust-lang/crates.io-index", [all …]
|
| /external/rust/crates/anyhow/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 20 name: Rust ${{matrix.rust}} 23 runs-on: ubuntu-latest 25 fail-fast: false 27 rust: [nightly, beta, stable, 1.65.0] 28 timeout-minutes: 45 30 - uses: actions/checkout@v4 31 - uses: dtolnay/rust-toolchain@master 33 toolchain: ${{matrix.rust}} 34 components: rust-src [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/ |
| D | BUILD.bazel | 3 load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_doc", "rust_doc_test", "rust_library", "rus… 8 "src/**/*.bzl", 9 "src/**/*.j2", 10 "src/**/*.rs", 34 deps = ["//rust:bzl_lib"], 40 "src/**/*.bzl", 41 "src/**/*.j2", 42 "src/**/*.rs", 50 include = ["src/**/*.rs"], 51 exclude = ["src/main.rs"], [all …]
|