| /third_party/rust/crates/bindgen/bindgen/ |
| D | features.rs | 14 /// Represents the version of the Rust language to target. 31 /// Gives the latest stable Rust version 42 /// * The stable/beta versions of Rust are of the form "1.0", 54 "Got an invalid rust target. Accepted values ", 89 /// Rust stable 1.0 90 …cated = "This rust target is deprecated. If you have a good reason to use this target please repor… 91 /// Rust stable 1.17 92 …/// * Static lifetime elision ([RFC 1623](https://github.com/rust-lang/rfcs/blob/master/text/1623… 93 …cated = "This rust target is deprecated. If you have a good reason to use this target please repor… 94 /// Rust stable 1.19 [all …]
|
| /third_party/rust/crates/nix/ |
| D | CHANGELOG.md | 9 ([#1964](https://github.com/nix-rust/nix/pull/1964)) 14 ([#1821](https://github.com/nix-rust/nix/pull/1821)) 20 ([#1871](https://github.com/nix-rust/nix/pull/1871)) 23 ([#1877](https://github.com/nix-rust/nix/pull/1877)) 25 ([#1849](https://github.com/nix-rust/nix/pull/1849)) 27 ([#1849](https://github.com/nix-rust/nix/pull/1849)) 29 ([#1829](https://github.com/nix-rust/nix/pull/1829)) 31 ([#1825](https://github.com/nix-rust/nix/pull/1825)) 33 ([#1804](https://github.com/nix-rust/nix/pull/1804)) 35 ([#1805](https://github.com/nix-rust/nix/pull/1805)) [all …]
|
| /third_party/rust/crates/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; 93 rust::Box<R> c_return_box(); 101 rust::Str c_return_str(const Shared &shared); 102 rust::Slice<const char> c_return_slice_char(const Shared &shared); 103 rust::Slice<uint8_t> c_return_mutsliceu8(rust::Slice<uint8_t> slice); 104 rust::String c_return_rust_string(); 105 rust::String c_return_rust_string_lossy(); 114 rust::Vec<uint8_t> c_return_rust_vec_u8(); [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() 99 rust::Str c_return_str(const Shared &shared) { in c_return_str() 104 rust::Slice<const char> c_return_slice_char(const Shared &shared) { in c_return_slice_char() [all …]
|
| /third_party/rust/crates/bindgen/ |
| D | CHANGELOG.md | 218 * All the rust targets equal or lower than `1.30` are being deprecated and 237 rust. 247 * any generated rust code containing unsafe operations inside unsafe functions 287 instead of `std::os::raw` if the Rust target version is `1.64` or higher and 299 [(#1743)]: https://github.com/rust-lang/rust-bindgen/issues/1743 342 [(#2176)]: https://github.com/rust-lang/rust-bindgen/pull/2176 372 * Let Rust derive everything but Default for large arrays in 1.47 and later (#2070). 402 * Add option to translate enum integer types to native Rust integer types. 455 [#1984]: https://github.com/rust-lang/rust-bindgen/pull/1984 456 [an AArch64 bug]: https://github.com/rust-lang/rust-bindgen/issues/1973 [all …]
|
| 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" 35 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" 108 source = "registry+https://github.com/rust-lang/crates.io-index" 114 source = "registry+https://github.com/rust-lang/crates.io-index" 123 source = "registry+https://github.com/rust-lang/crates.io-index" 129 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
| /third_party/rust/crates/clap/ |
| 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" 23 source = "registry+https://github.com/rust-lang/crates.io-index" 29 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" 59 source = "registry+https://github.com/rust-lang/crates.io-index" 69 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" [all …]
|
| /third_party/rust/crates/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. 18 CXX's Rust code generation automatically happens when the `#[cxx::bridge]` 19 procedural macro is expanded during the normal Rust compilation process, so no 45 ### Linking the C++ and Rust together 47 When linking a binary which contains mixed Rust and C++ code, you will have to 48 choose between using the Rust toolchain (`rustc`) or the C++ toolchain which you 51 Rust does not generate simple standalone `.o` files, so you can't just throw the 52 Rust-generated code into your existing C++ toolchain linker. Instead you need to 55 * Use `rustc` as the final linker. Pass any non-Rust libraries using `-L [all …]
|
| /third_party/rust/crates/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 …]
|
| /third_party/rust/crates/memchr/bench/ |
| D | Cargo.lock | 6 source = "registry+https://github.com/rust-lang/crates.io-index" 17 source = "registry+https://github.com/rust-lang/crates.io-index" 23 source = "registry+https://github.com/rust-lang/crates.io-index" 29 source = "registry+https://github.com/rust-lang/crates.io-index" 33 "memchr 2.3.4 (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" 62 source = "registry+https://github.com/rust-lang/crates.io-index" 68 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
| /third_party/rust/crates/regex/ |
| D | CHANGELOG.md | 8 * [PERF #930](https://github.com/rust-lang/regex/pull/930): 13 * [BUG #945](https://github.com/rust-lang/regex/issues/945): 23 * [FEATURE #832](https://github.com/rust-lang/regex/issues/916): 33 * [FEATURE #832](https://github.com/rust-lang/regex/pull/832): 35 * [FEATURE #857](https://github.com/rust-lang/regex/pull/857): 37 * [FEATURE #861](https://github.com/rust-lang/regex/pull/861): 39 * [FEATURE #877](https://github.com/rust-lang/regex/issues/877): 44 * [BUG #792](https://github.com/rust-lang/regex/issues/792): 53 * [BUG #680](https://github.com/rust-lang/regex/issues/680): 55 * [BUG #859](https://github.com/rust-lang/regex/issues/859): [all …]
|
| /third_party/rust/crates/libc/.github/workflows/ |
| D | bors.yml | 13 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds) 26 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master 30 - name: Setup Rust toolchain 31 run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh 37 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds) 49 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master 53 - name: Setup Rust toolchain 54 run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh 60 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds) 77 # https://github.com/rust-lang/libc/issues/1592 [all …]
|
| /third_party/rust/crates/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 …]
|
| /third_party/rust/crates/clap/.github/workflows/ |
| D | rust-next.yml | 1 name: rust-next 17 rust: "stable" 21 rust: "beta" 25 rust: "beta" 29 rust: "beta" 33 rust: "nightly" 37 rust: "stable" 41 rust: "stable" 45 rust: "stable" 47 continue-on-error: ${{ matrix.rust != 'stable' }} [all …]
|
| D | ci.yml | 29 rust: "stable" 33 rust: "stable" 37 rust: "stable" 41 rust: "stable" 45 rust: "stable" 49 rust: "stable" 51 continue-on-error: ${{ matrix.rust != 'stable' }} 56 - name: Install Rust 59 toolchain: ${{ matrix.rust }} 62 - uses: Swatinem/rust-cache@v2 [all …]
|
| /third_party/rust/crates/io-lifetimes/.github/workflows/ |
| D | main.yml | 17 - uses: ./.github/actions/install-rust 31 rust: stable 34 rust: nightly 37 # -D warnings is commented out in our install-rust action; re-add it here. 43 - uses: ./.github/actions/install-rust 45 toolchain: ${{ matrix.rust }} 62 rust: 1.48 65 # -D warnings is commented out in our install-rust action; re-add it here. 71 - uses: ./.github/actions/install-rust 73 toolchain: ${{ matrix.rust }} [all …]
|
| /third_party/rust/crates/serde/serde_derive/ |
| D | README.md | 1 …[actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.31] [![serde_derive msrv]][Rust 1.… 9 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html 10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html 12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g… 30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b… 50 ```rust 78 Serde is one of the most widely used Rust libraries so any place that Rustaceans 80 [#rust-questions] or [#rust-beginners] channels of the unofficial community 81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or 82 [#beginners] channels of the official Rust Project Discord (invite: [all …]
|
| /third_party/rust/crates/serde/ |
| D | README.md | 1 …[actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.31] [![serde_derive msrv]][Rust 1.… 9 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html 10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html 12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g… 30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b… 50 ```rust 78 Serde is one of the most widely used Rust libraries so any place that Rustaceans 80 [#rust-questions] or [#rust-beginners] channels of the unofficial community 81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or 82 [#beginners] channels of the official Rust Project Discord (invite: [all …]
|
| D | crates-io.md | 3 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g… 18 ```rust 46 Serde is one of the most widely used Rust libraries so any place that Rustaceans 48 [#rust-questions] or [#rust-beginners] channels of the unofficial community 49 Discord (invite: <https://discord.gg/rust-lang-community>, the [#rust-usage] or 50 [#beginners] channels of the official Rust Project Discord (invite: 51 <https://discord.gg/rust-lang>), or the [#general][zulip] stream in Zulip. For 52 asynchronous, consider the [\[rust\] tag on StackOverflow][stackoverflow], the 53 [/r/rust] subreddit which has a pinned weekly easy questions post, or the Rust 58 [#rust-questions]: https://discord.com/channels/273534239310479360/274215136414400513 [all …]
|
| /third_party/rust/crates/serde/serde/ |
| D | README.md | 1 …[actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.31] [![serde_derive msrv]][Rust 1.… 9 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html 10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html 12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g… 30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b… 50 ```rust 78 Serde is one of the most widely used Rust libraries so any place that Rustaceans 80 [#rust-questions] or [#rust-beginners] channels of the unofficial community 81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or 82 [#beginners] channels of the official Rust Project Discord (invite: [all …]
|
| D | crates-io.md | 3 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g… 18 ```rust 46 Serde is one of the most widely used Rust libraries so any place that Rustaceans 48 [#rust-questions] or [#rust-beginners] channels of the unofficial community 49 Discord (invite: <https://discord.gg/rust-lang-community>, the [#rust-usage] or 50 [#beginners] channels of the official Rust Project Discord (invite: 51 <https://discord.gg/rust-lang>), or the [#general][zulip] stream in Zulip. For 52 asynchronous, consider the [\[rust\] tag on StackOverflow][stackoverflow], the 53 [/r/rust] subreddit which has a pinned weekly easy questions post, or the Rust 58 [#rust-questions]: https://discord.com/channels/273534239310479360/274215136414400513 [all …]
|
| /third_party/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
|
| /third_party/rust/crates/bitflags/ |
| D | CHANGELOG.md | 70 [#183]: https://github.com/rust-lang-nursery/bitflags/pull/183 71 [#188]: https://github.com/rust-lang-nursery/bitflags/pull/188 85 [#171]: https://github.com/rust-lang-nursery/bitflags/pull/171 86 [#173]: https://github.com/rust-lang-nursery/bitflags/pull/173 87 [#175]: https://github.com/rust-lang-nursery/bitflags/pull/175 91 - Support Rust 2018 style macro imports ([#165]) 93 ```rust 97 [#165]: https://github.com/rust-lang-nursery/bitflags/pull/165 103 [#157]: https://github.com/rust-lang-nursery/bitflags/pull/157 113 [#156]: https://github.com/rust-lang-nursery/bitflags/pull/156 [all …]
|