/external/rust/crates/nix/ |
D | CHANGELOG.md | 9 - Added a `passwd` field to `Group` (#[1338](https://github.com/nix-rust/nix/pull/1338)) 10 - Added `mremap` (#[1306](https://github.com/nix-rust/nix/pull/1306)) 11 - Added `personality` (#[1331](https://github.com/nix-rust/nix/pull/1331)) 12 - Added limited Fuchsia support (#[1285](https://github.com/nix-rust/nix/pull/1285)) 13 - Added `getpeereid` (#[1342](https://github.com/nix-rust/nix/pull/1342)) 15 (#[1333](https://github.com/nix-rust/nix/pull/1333)). 19 - Minimum supported Rust version is now 1.40.0. 20 ([#1356](https://github.com/nix-rust/nix/pull/1356)) 23 (#[1350](https://github.com/nix-rust/nix/pull/1350)) 25 (#[1344](https://github.com/nix-rust/nix/pull/1344)) [all …]
|
/external/rust/cxx/tests/ffi/ |
D | tests.h | 2 #include "rust/cxx.h" 54 rust::String cOverloadedMethod(int32_t x) const; 55 rust::String cOverloadedMethod(rust::Str x) const; 91 rust::Box<R> c_return_box(); 99 rust::Str c_return_str(const Shared &shared); 100 rust::Slice<const char> c_return_slice_char(const Shared &shared); 101 rust::Slice<uint8_t> c_return_mutsliceu8(rust::Slice<uint8_t> slice); 102 rust::String c_return_rust_string(); 111 rust::Vec<uint8_t> c_return_rust_vec(); 112 const rust::Vec<uint8_t> &c_return_ref_rust_vec(const C &c); [all …]
|
D | tests.cc | 63 rust::Box<R> c_return_box() { in c_return_box() 65 rust::Box<Shared> box{shared}; // explicit constructor from const T& in c_return_box() 66 rust::Box<Shared> other{std::move(shared)}; // explicit constructor from T&& in c_return_box() 68 rust::Box<Shared> box2(*box); // copy from another Box in c_return_box() 69 rust::Box<Shared> other2(std::move(other)); // move constructor in c_return_box() 70 rust::Box<Shared>::in_place(shared.z); // placement static factory in c_return_box() 71 rust::Box<Shared>::in_place<size_t>(0); in c_return_box() 72 return rust::Box<R>::from_raw(cxx_test_suite_get_box()); in c_return_box() 97 rust::Str c_return_str(const Shared &shared) { in c_return_str() 102 rust::Slice<const char> c_return_slice_char(const Shared &shared) { in c_return_slice_char() [all …]
|
/external/rust/cxx/book/src/build/ |
D | other.md | 1 {{#title Other build systems — Rust ♡ C++}} 8 - Link the resulting objects together with your other C++ and Rust objects. 12 CXX's Rust code generation automatically happens when the `#[cxx::bridge]` 13 procedural macro is expanded during the normal Rust compilation process, so no 39 ### Linking the C++ and Rust together 41 When linking a binary which contains mixed Rust and C++ code, you will have to 42 choose between using the Rust toolchain (`rustc`) or the C++ toolchain which you 45 Rust does not generate simple standalone `.o` files, so you can't just throw the 46 Rust-generated code into your existing C++ toolchain linker. Instead you need to 49 * Use `rustc` as the final linker. Pass any non-Rust libraries using `-L [all …]
|
/external/rust/cxx/book/src/ |
D | extern-rust.md | 1 {{#title extern "Rust" — Rust ♡ C++}} 2 # extern "Rust" 4 ```rust,noplayground 7 extern "Rust" { 13 The `extern "Rust"` section of a CXX bridge declares Rust types and signatures 16 The CXX code generator uses your extern "Rust" section(s) to produce a C++ 18 has the same path as the Rust source file containing the bridge, except with a 21 A bridge module may contain zero or more extern "Rust" blocks. 23 ## Opaque Rust types 25 Types defined in Rust that are made available to C++, but only behind an [all …]
|
D | context.md | 1 {{#title Other Rust–C++ interop tools — Rust ♡ C++}} 2 # Context: other Rust–C++ interop tools 4 When it comes to interacting with an idiomatic Rust API or idiomatic C++ API 15 programmatically to `extern "C"` Rust signatures. Preferably, build a 16 safe/idiomatic Rust wrapper on top. 18 - Build a C-compatible Rust wrapper around the Rust code and use **[cbindgen]** 26 [bindgen]: https://github.com/rust-lang/rust-bindgen 40 [bindgen#388]: https://github.com/rust-lang/rust-bindgen/issues/388 41 [bindgen#380]: https://github.com/rust-lang/rust-bindgen/issues/380 42 [bindgen#607]: https://github.com/rust-lang/rust-bindgen/issues/607 [all …]
|
D | extern-c++.md | 1 {{#title extern "C++" — Rust ♡ C++}} 4 ```rust,noplayground 17 be made available to Rust, and gives the paths of the header(s) which contain 24 Type defined in C++ that are made available to Rust, but only behind an 27 ```rust,noplayground 41 returned to Rust by way of a UniquePtr. 43 **Mutability:** Unlike extern Rust types and shared types, an extern C++ type is 47 two mutable references, given that Rust doesn't have information about the size 53 CXX produces for you in Rust *do not* come with `Send` and `Sync` impls. If you 55 and need to leverage that fact from Rust, you must provide your own unsafe [all …]
|
/external/rust/crates/getrandom/ |
D | CHANGELOG.md | 12 [#198]: https://github.com/rust-random/getrandom/pull/198 13 [#200]: https://github.com/rust-random/getrandom/pull/200 28 [#165]: https://github.com/rust-random/getrandom/pull/165 29 [#166]: https://github.com/rust-random/getrandom/pull/166 30 [#167]: https://github.com/rust-random/getrandom/pull/167 31 [#177]: https://github.com/rust-random/getrandom/pull/177 32 [#178]: https://github.com/rust-random/getrandom/pull/178 33 [#184]: https://github.com/rust-random/getrandom/pull/184 53 [#106]: https://github.com/rust-random/getrandom/pull/106 54 [#107]: https://github.com/rust-random/getrandom/pull/107 [all …]
|
/external/rust/crates/codespan-reporting/ |
D | Cargo.lock | 6 source = "registry+https://github.com/rust-lang/crates.io-index" 15 source = "registry+https://github.com/rust-lang/crates.io-index" 21 source = "registry+https://github.com/rust-lang/crates.io-index" 32 source = "registry+https://github.com/rust-lang/crates.io-index" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 44 source = "registry+https://github.com/rust-lang/crates.io-index" 50 source = "registry+https://github.com/rust-lang/crates.io-index" 56 source = "registry+https://github.com/rust-lang/crates.io-index" 87 source = "registry+https://github.com/rust-lang/crates.io-index" 100 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/crates/quiche/ |
D | Cargo.lock | 6 source = "registry+https://github.com/rust-lang/crates.io-index" 12 source = "registry+https://github.com/rust-lang/crates.io-index" 18 source = "registry+https://github.com/rust-lang/crates.io-index" 24 source = "registry+https://github.com/rust-lang/crates.io-index" 30 source = "registry+https://github.com/rust-lang/crates.io-index" 39 source = "registry+https://github.com/rust-lang/crates.io-index" 49 source = "registry+https://github.com/rust-lang/crates.io-index" 63 source = "registry+https://github.com/rust-lang/crates.io-index" 74 source = "registry+https://github.com/rust-lang/crates.io-index" 80 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/crates/async-stream/ |
D | Cargo.lock | 6 source = "registry+https://github.com/rust-lang/crates.io-index" 24 source = "registry+https://github.com/rust-lang/crates.io-index" 35 source = "registry+https://github.com/rust-lang/crates.io-index" 41 source = "registry+https://github.com/rust-lang/crates.io-index" 47 source = "registry+https://github.com/rust-lang/crates.io-index" 53 source = "registry+https://github.com/rust-lang/crates.io-index" 59 source = "registry+https://github.com/rust-lang/crates.io-index" 69 source = "registry+https://github.com/rust-lang/crates.io-index" 75 source = "registry+https://github.com/rust-lang/crates.io-index" 81 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/crates/regex/ |
D | CHANGELOG.md | 10 * [BUG #750](https://github.com/rust-lang/regex/pull/750): 22 * [BUG #362](https://github.com/rust-lang/regex/pull/362): 24 * [BUG #576](https://github.com/rust-lang/regex/pull/576): 26 * [BUG #728](https://github.com/rust-lang/regex/pull/749): 37 * [BUG #734](https://github.com/rust-lang/regex/pull/734): 39 * [BUG #735](https://github.com/rust-lang/regex/pull/735): 49 * [BUG #722](https://github.com/rust-lang/regex/issues/722): 59 * [BUG #719](https://github.com/rust-lang/regex/issues/719): 66 API additions. The MSRV remains at Rust 1.28 for now, but this is intended to 67 increase to at least Rust 1.41.1 soon. [all …]
|
/external/rust/crates/bindgen/src/ |
D | features.rs | 13 /// Represents the version of the Rust language to target. 30 /// Gives the latest stable Rust version 41 /// * The stable/beta versions of Rust are of the form "1.0", 53 "Got an invalid rust target. Accepted values ", 88 /// Rust stable 1.0 90 /// Rust stable 1.1 92 /// Rust stable 1.19 93 …/// * Untagged unions ([RFC 1444](https://github.com/rust-lang/rfcs/blob/master/text/1444-union.m… 95 /// Rust stable 1.20 96 /// * Associated constants ([PR](https://github.com/rust-lang/rust/pull/42809)) [all …]
|
/external/rust/crates/num-traits/ |
D | RELEASES.md | 15 behavior, but [rust#15536] resolved that such casts are fine. 22 [180]: https://github.com/rust-num/num-traits/pull/180 23 [185]: https://github.com/rust-num/num-traits/pull/185 24 [186]: https://github.com/rust-num/num-traits/pull/186 25 [192]: https://github.com/rust-num/num-traits/issues/192 26 [rust#15536]: https://github.com/rust-lang/rust/issues/15536 40 [153]: https://github.com/rust-num/num-traits/pull/153 41 [165]: https://github.com/rust-num/num-traits/pull/165 42 [171]: https://github.com/rust-num/num-traits/pull/171 51 [145]: https://github.com/rust-num/num-traits/pull/145 [all …]
|
/external/rust/crates/bitflags/ |
D | CHANGELOG.md | 13 [#183]: https://github.com/rust-lang-nursery/bitflags/pull/183 14 [#188]: https://github.com/rust-lang-nursery/bitflags/pull/188 28 [#171]: https://github.com/rust-lang-nursery/bitflags/pull/171 29 [#173]: https://github.com/rust-lang-nursery/bitflags/pull/173 30 [#175]: https://github.com/rust-lang-nursery/bitflags/pull/175 34 - Support Rust 2018 style macro imports ([#165]) 36 ```rust 40 [#165]: https://github.com/rust-lang-nursery/bitflags/pull/165 46 [#157]: https://github.com/rust-lang-nursery/bitflags/pull/157 56 [#156]: https://github.com/rust-lang-nursery/bitflags/pull/156 [all …]
|
/external/rust/crates/grpcio-compiler/ |
D | Cargo.lock | 6 source = "registry+https://github.com/rust-lang/crates.io-index" 12 source = "registry+https://github.com/rust-lang/crates.io-index" 18 source = "registry+https://github.com/rust-lang/crates.io-index" 24 source = "registry+https://github.com/rust-lang/crates.io-index" 30 source = "registry+https://github.com/rust-lang/crates.io-index" 36 source = "registry+https://github.com/rust-lang/crates.io-index" 47 source = "registry+https://github.com/rust-lang/crates.io-index" 53 source = "registry+https://github.com/rust-lang/crates.io-index" 59 source = "registry+https://github.com/rust-lang/crates.io-index" 82 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/crates/bindgen/ |
D | Cargo.lock | 8 source = "registry+https://github.com/rust-lang/crates.io-index" 17 source = "registry+https://github.com/rust-lang/crates.io-index" 26 source = "registry+https://github.com/rust-lang/crates.io-index" 59 source = "registry+https://github.com/rust-lang/crates.io-index" 65 source = "registry+https://github.com/rust-lang/crates.io-index" 74 source = "registry+https://github.com/rust-lang/crates.io-index" 80 source = "registry+https://github.com/rust-lang/crates.io-index" 86 source = "registry+https://github.com/rust-lang/crates.io-index" 97 source = "registry+https://github.com/rust-lang/crates.io-index" 112 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/cxx/book/src/binding/ |
D | box.md | 1 {{#title rust::Box<T> — Rust ♡ C++}} 2 # rust::Box\<T\> 7 // rust/cxx.h 11 # namespace rust { 46 # } // namespace rust 55 If T is an opaque Rust type, the Rust type is required to be [Sized] i.e. size 57 sized opaque Rust types. 59 [Sized]: https://doc.rust-lang.org/std/marker/trait.Sized.html 63 This program uses a Box to pass ownership of some opaque piece of Rust state 64 over to C++ and then back to a Rust callback, which is a useful pattern for [all …]
|
/external/toolchain-utils/rust_tools/ |
D | rust_uprev.py | 7 """Tool to automatically generate a new Rust uprev CL. 9 This tool is intended to automatically generate a CL to uprev Rust to a 10 newer version in Chrome OS, including creating a new Rust version or 12 src/third_party/chromiumos-overlay/dev-lang/rust/UPGRADE.md. When using 20 2. Step "compile rust" failed due to the patches can't apply to new version 30 `roll`. It can create a Rust uprev CL with `create` and `remove` and upload 51 RUST_PATH = '/mnt/host/source/src/third_party/chromiumos-overlay/dev-lang/rust' 60 """NamedTuple represents a Rust version""" 70 input_re = re.compile(r'^rust-' 83 input_re = re.compile(r'^(?:rust-)?' [all …]
|
D | rust_uprev_test.py | 35 actual = rust_uprev.RustVersion.parse_from_ebuild('rust-1.2.3.ebuild') 38 actual = rust_uprev.RustVersion.parse_from_ebuild('rust-1.2.3-r1.ebuild') 43 rust_uprev.RustVersion.parse('invalid-rust-1.2.3') 44 self.assertEqual("failed to parse 'invalid-rust-1.2.3'", 82 rust_ebuild_path = f'/path/to/rust/rust-{self.version_old}-r3.ebuild' 88 mock_command.assert_called_once_with(['equery', 'w', 'rust']) 95 mock_command.return_value = f'/path/to/rust/rust-{self.version_new}.ebuild' 123 ebuild_file = '/path/to/rust/rust-1.3.5.ebuild' 132 ebuild_file = '/path/to/rust/rust-1.3.5.ebuild' 136 self.assertEqual('STAGE0_VERSION not found in rust ebuild', [all …]
|
/external/crosvm/ |
D | Cargo.lock | 35 source = "registry+https://github.com/rust-lang/crates.io-index" 41 source = "registry+https://github.com/rust-lang/crates.io-index" 71 source = "registry+https://github.com/rust-lang/crates.io-index" 77 source = "registry+https://github.com/rust-lang/crates.io-index" 96 source = "registry+https://github.com/rust-lang/crates.io-index" 102 source = "registry+https://github.com/rust-lang/crates.io-index" 139 source = "registry+https://github.com/rust-lang/crates.io-index" 145 source = "registry+https://github.com/rust-lang/crates.io-index" 151 source = "registry+https://github.com/rust-lang/crates.io-index" 157 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/crates/serde/ |
D | build.rs | 17 // std::collections::Bound was stabilized in Rust 1.17 in main() 18 // but it was moved to core::ops later in Rust 1.26: in main() 19 // https://doc.rust-lang.org/core/ops/enum.Bound.html in main() 26 // core::cmp::Reverse stabilized in Rust 1.19: in main() 27 // https://doc.rust-lang.org/stable/core/cmp/struct.Reverse.html in main() 32 // CString::into_boxed_c_str and PathBuf::into_boxed_path stabilized in Rust 1.20: in main() 33 // https://doc.rust-lang.org/std/ffi/struct.CString.html#method.into_boxed_c_str in main() 34 // https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.into_boxed_path in main() 40 // From<Box<T>> for Rc<T> / Arc<T> stabilized in Rust 1.21: in main() 41 // https://doc.rust-lang.org/std/rc/struct.Rc.html#impl-From<Box<T>> in main() [all …]
|
/external/rust/crates/rustc-hash/ |
D | CODE_OF_CONDUCT.md | 1 # The Rust Code of Conduct 3 A version of this document [can be found online](https://www.rust-lang.org/conduct.html). 7 **Contact**: [rust-mods@rust-lang.org](mailto:rust-mods@rust-lang.org) 15 … a community member, please contact one of the channel ops or any of the [Rust moderation team][mo… 21 … conduct. If you feel that a thread needs moderation, please contact the [Rust moderation team][mo… 23 1. Remarks that violate the Rust standards of conduct, including hateful, hurtful, oppressive, or e… 32 In the Rust community we strive to go the extra step to look out for each other. Don't just aim to … 36 …Rust venues; including official IRC channels (#rust, #rust-internals, #rust-tools, #rust-libs, #ru… 40 [mod_team]: https://www.rust-lang.org/team.html#Moderation-team
|
/external/libchromeos-rs/ |
D | Cargo.lock | 10 source = "registry+https://github.com/rust-lang/crates.io-index" 16 source = "registry+https://github.com/rust-lang/crates.io-index" 30 source = "registry+https://github.com/rust-lang/crates.io-index" 45 source = "registry+https://github.com/rust-lang/crates.io-index" 55 source = "registry+https://github.com/rust-lang/crates.io-index" 61 source = "registry+https://github.com/rust-lang/crates.io-index" 73 source = "registry+https://github.com/rust-lang/crates.io-index" 79 source = "registry+https://github.com/rust-lang/crates.io-index" 91 source = "registry+https://github.com/rust-lang/crates.io-index" 97 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/external/rust/cxx/syntax/ |
D | check.rs | 67 let ident = &name.rust; in check_type_ident() 72 && !cx.types.rust.contains(ident) in check_type_ident() 81 if cx.types.cxx.contains(&ident.rust) in check_type_box() 82 && !cx.types.aliases.contains_key(&ident.rust) in check_type_box() 83 && !cx.types.structs.contains_key(&ident.rust) in check_type_box() 84 && !cx.types.enums.contains_key(&ident.rust) in check_type_box() 89 if Atom::from(&ident.rust).is_none() { in check_type_box() 100 if cx.types.cxx.contains(&ident.rust) in check_type_rust_vec() 101 && !cx.types.aliases.contains_key(&ident.rust) in check_type_rust_vec() 102 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec() [all …]
|