Home
last modified time | relevance | path

Searched +full:rust +full:- +full:embedded (Results 1 – 25 of 40) sorted by relevance

12

/third_party/rust/crates/bitflags/.github/workflows/
Drust.yml1 name: Rust
11 runs-on: ubuntu-latest
13 fail-fast: true
15 rust:
16 - stable
17 - beta
18 - nightly
19 - 1.46.0
21 - name: Checkout sources
24 - name: Install Rust toolchain
[all …]
/third_party/rust/crates/log/.github/workflows/
Dmain.yml7 runs-on: ${{ matrix.os }}
12 - build: stable
13 os: ubuntu-latest
14 rust: stable
15 - build: beta
16 os: ubuntu-latest
17 rust: beta
18 - build: nightly
19 os: ubuntu-latest
20 rust: nightly
[all …]
/third_party/rust/crates/memchr/.github/workflows/
Dci.yml5 - 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/aho-corasick/.github/workflows/
Dci.yml6 - master
8 - cron: '00 01 * * *'
13 # For some builds, we use cross to test on 32-bit and big-endian
16 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
18 runs-on: ${{ matrix.os }}
22 - pinned
23 - stable
24 - stable-32
25 - stable-mips
26 - beta
[all …]
/third_party/rust/crates/nix/
D.cirrus.yml8 RUSTFLAGS: -D warnings
9 RUSTDOCFLAGS: -D warnings
18 - . $HOME/.cargo/env || true
19 - $TOOL +$TOOLCHAIN -Vv
20 - rustc +$TOOLCHAIN -Vv
21 - $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
22 - $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET
23 - $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET --all-targets -- -D warnings
24 - if [ -z "$NOHACK" ]; then mkdir -p $HOME/.cargo/bin; export PATH=$HOME/.cargo/bin:$PATH; fi
25- if [ -z "$NOHACK" ]; then curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/downl…
[all …]
/third_party/rust/crates/minimal-lexical/.github/workflows/
DOSX.yml10 name: Rust ${{matrix.target}}
11 runs-on: macos-latest
13 fail-fast: false
16 # iOS targets don't work, since rust-embedded doesn't provide images.
17 - x86_64-apple-darwin
20 - uses: actions/checkout@v2
21 - uses: actions-rs/toolchain@v1
26 - uses: actions-rs/cargo@v1
28 use-cross: true
30 args: --target ${{matrix.target}}
[all …]
/third_party/rust/crates/nom/src/multi/
Dmod.rs14 /// Don't pre-allocate more than 64KiB when calling `Vec::with_capacity`.
16 /// Pre-allocating memory is a nice optimization but count fields can't
26 /// Repeats the embedded parser, gathering the results in a `Vec`.
37 /// ```rust
42 /// fn parser(s: &str) -> IResult<&str, Vec<&str>> {
53 pub fn many0<I, O, E, F>(mut f: F) -> impl FnMut(I) -> IResult<I, Vec<O>, E> in many0()
80 /// Runs the embedded parser, gathering the results in a `Vec`.
92 /// ```rust
97 /// fn parser(s: &str) -> IResult<&str, Vec<&str>> {
108 pub fn many1<I, O, E, F>(mut f: F) -> impl FnMut(I) -> IResult<I, Vec<O>, E> in many1()
[all …]
/third_party/rust/crates/regex/.github/workflows/
Dci.yml6 - master
8 - cron: '00 01 * * *'
10 # The section is needed to drop write-all permissions that are granted on
16 # on pull-requests, etc. may need additional permissions:
19 # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
21 # Reference for how to assign permissions on a job-by-job basis:
22 # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
25 # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for
34 # For some builds, we use cross to test on 32-bit and big-endian
37 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
[all …]
/third_party/rust/crates/rustix/src/
Dcstr.rs4 /// most underlying system calls with string arguments expect NUL-terminated
6 /// need to copy them into a separate buffer to NUL-terminate them.
12 /// ```rust,no_run
14 /// # fn main() -> rustix::io::Result<()> {
31 // constant-folds away.
35 // constant-fold away.
38 "cstr argument contains embedded NUL bytes",
43 // Now that we know the string doesn't have embedded NULs, we can call
48 // embedded NULs above, and we append or own NUL terminator here.
/third_party/littlefs/
DREADME.md3 A little fail-safe filesystem designed for microcontrollers.
6 | | | .---._____
7 .-----. | |
8 --|o |---| littlefs |
9 --| |---| |
10 '-----' '----------'
14 **Power-loss resilience** - littlefs is designed to handle random power
15 failures. All file operations have strong copy-on-write guarantees and if
18 **Dynamic wear leveling** - littlefs is designed with flash in mind, and
22 **Bounded RAM/ROM** - littlefs is designed to work with a small amount of
[all …]
/third_party/gn/src/gn/
Dfunction_toolchain.cc2 // Use of this source code is governed by a BSD-style license that can be
35 // toolchain -------------------------------------------------------------------
50 parameters of each target (or which targets exist) on a per-toolchain basis.
69 2. Re-runs the master build configuration file, applying the arguments
74 The toolchain configuration is two-way. In the default toolchain (i.e. the
80 toolchain definition specifies the arguments to re-invoke the build.
94 configuration file is re-interpreted in the context of that toolchain.
117 When true, configs (public and all-dependent) will cross the boundary out
146 use_doom_melon = true # Doom melon always required for 32-bit builds.
163 Example of cross-toolchain dependencies
[all …]
Dfunctions_target.cc2 // Use of this source code is governed by a BSD-style license that can be
25 #define RUST_VARS " Rust variables: aliased_deps, crate_root, crate_name\n"
27 " Rust variables: aliased_deps, crate_root, crate_name, crate_type\n"
56 block->Execute(&block_scope, err); in ExecuteGenericTarget()
57 if (err->has_error()) in ExecuteGenericTarget()
62 if (err->has_error()) in ExecuteGenericTarget()
71 // action ----------------------------------------------------------------------
106 " for runtime-only dependencies.\n"
113 " multiple compiler-incompatible languages are not allowed (e.g. a\n" \
115 " target containing C and Rust sources is not).\n"
[all …]
/third_party/rust/crates/log/
DCHANGELOG.md5 ## [0.4.17] - 2022-04-29
9 ## [0.4.16] - 2022-03-22
13 ## [0.4.15] - 2022-02-23
17 * Add thumbv4t-none-eabi to targets that don't support atomics
22 * Add key-value support to the `log!` macros.
28 ## [0.4.14] - 2021-01-27
35 ## [0.4.13] - 2021-01-11
39 ## [0.4.12] - 2020-12-24
45 * Update `cfg-if` to `1.0`
54 ## [0.4.11] - 2020-07-09
[all …]
/third_party/rust/crates/clang-sys/
DCHANGELOG.md1 ## [1.4.0] - 2022-09-22
4 - The value of an `EntityKind` enum variant
7 …e in `libclang`](https://github.com/llvm/llvm-project/commit/bb83f8e70bd1d56152f02307adacd718cd67e…
10 - Added support for `clang` 16.0.x
11 - Added support for `clang` 15.0.x
12 - Added support for `clang` 14.0.x
14 ## [1.3.3] - 2022-05-28
17 - Fixed `Clang::find` to check that `CLANG_PATH` is an executable file before
20 ## [1.3.2] - 2022-05-18
23 - Added support for illumos and derivatives
[all …]
/third_party/libbpf/docs/
Dlibbpf_overview.rst1 .. SPDX-License-Identifier: GPL-2.0
7 libbpf is a C-based library containing a BPF loader that takes compiled BPF
13 The following are the high-level features supported by libbpf:
15 * Provides high-level and low-level APIs for user space programs to interact
16 with BPF programs. The low-level APIs wrap all the bpf system call
17 functionality, which is useful when users need more fine-grained control
22 * Provides BPF-side APIS, including BPF helper definitions, BPF maps support,
24 * Supports BPF CO-RE mechanism, enabling BPF developers to write portable
48 (setting BPF program types, if necessary; pre-setting initial values for
76 process of distributing your BPF code. With BPF bytecode embedded, there are no
[all …]
/third_party/rust/crates/unicode-ident/
DREADME.md4 …adge/github-dtolnay/unicode--ident-8da0cb?style=for-the-badge&labelColor=555555&logo=github" heigh…
5 …ields.io/crates/v/unicode-ident.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](http…
6 …lds.io/badge/docs.rs-unicode--ident-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" hei…
7 …flow/status/dtolnay/unicode-ident/ci.yml?branch=master&style=for-the-badge" height="20">](https://…
14 This crate is a better optimized implementation of the older `unicode-xid`
16 and non-ASCII codepoints with better performance, 2&ndash;10&times; faster than
17 `unicode-xid`.
26 - `unicode-ident` is this crate;
27 - [`unicode-xid`] is a widely used crate run by the "unicode-rs" org;
28 - `ucd-trie` and `fst` are two data structures supported by the [`ucd-generate`] tool;
[all …]
/third_party/rust/crates/cxx/
DREADME.md1 CXX &mdash; safe FFI between Rust and C++
4 [<img alt="github" src="https://img.shields.io/badge/github-dtolnay/cxx-8da0cb?style=for-the-badge&…
5 …s.io" src="https://img.shields.io/crates/v/cxx.svg?style=for-the-badge&color=fc8d62&logo=rust" hei…
6 [<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-cxx-66c2a5?style=for-the-badge&labelC…
7 …/github/actions/workflow/status/dtolnay/cxx/ci.yml?branch=master&style=for-the-badge" height="20">…
9 This library provides a **safe** mechanism for calling C++ code from Rust and
10 Rust code from C++, not subject to the many ways that things can go wrong when
11 using bindgen or cbindgen to generate unsafe C-style bindings.
14 project, you would be on the hook for auditing all the unsafe Rust code and
16 just the C++ side would be sufficient to catch all problems, i.e. the Rust side
[all …]
/third_party/rust/crates/unicode-ident/src/
Dlib.rs1 …b.com/dtolnay/unicode-ident)&ensp;[![crates-io]](https://crates.io/crates/unicode-ident)&ensp;[![d…
3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
14 //! This crate is a better optimized implementation of the older `unicode-xid`
16 //! ASCII and non-ASCII codepoints with better performance, 2&ndash;10&times;
17 //! faster than `unicode-xid`.
26 //! - `unicode-ident` is this crate;
27 //! - [`unicode-xid`] is a widely used crate run by the "unicode-rs" org;
28 //! - `ucd-trie` and `fst` are two data structures supported by the
[all …]
/third_party/rust/crates/serde/serde/src/
Dlib.rs3 //! Serde is a framework for ***ser***ializing and ***de***serializing Rust data
18 //! Serde is instead built on Rust's powerful trait system. A data structure
24 //! be completely optimized away by the Rust compiler, leaving Serde
33 //! - [JSON], the ubiquitous JavaScript Object Notation used by many HTTP APIs.
34 //! - [Postcard], a no\_std and embedded-systems friendly compact binary format.
35 //! - [CBOR], a Concise Binary Object Representation designed for small message
37 //! - [YAML], a self-proclaimed human-friendly configuration language that ain't
39 //! - [MessagePack], an efficient binary format that resembles a compact JSON.
40 //! - [TOML], a minimal configuration format used by [Cargo].
41 //! - [Pickle], a format common in the Python world.
[all …]
/third_party/rust/crates/nom/
DREADME.md3 [![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4 …https://gitter.im/Geal/nom?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=bad…
8 … rustc version](https://img.shields.io/badge/rustc-1.48.0+-lightgray.svg)](#rust-version-requireme…
10 nom is a parser combinators library written in Rust. Its goal is to provide tools
12 that end, it uses extensively Rust's *strong typing* and *memory safety* to produce
20 <!-- toc -->
22 - [Example](#example)
23 - [Documentation](#documentation)
24 - [Why use nom?](#why-use-nom)
25 - [Binary format parsers](#binary-format-parsers)
[all …]
/third_party/rust/crates/regex/
DHACKING.md3 This guide assumes familiarity with Rust and Cargo, and at least a perusal of
19 --- This library contains such an implementation in src/pikevm.rs.
29 prefixes is in the regex-syntax crate (in this repository). The code to search
31 we fall back to an Aho-Corasick DFA using the aho-corasick crate. For one
32 literal, we use a variant of the Boyer-Moore algorithm. Both Aho-Corasick and
33 Boyer-Moore use `memchr` when appropriate. The Boyer-Moore variant in this
63 The following sub-sections describe the rest of the library and how each of the
68 Regular expressions are parsed using the regex-syntax crate, which is
69 maintained in this repository. The regex-syntax crate defines an abstract
75 The regex-syntax crate also provides sophisticated support for extracting
[all …]
/third_party/rust/crates/cxx/src/
Dlib.rs1 …hub]](https://github.com/dtolnay/cxx)&ensp;[![crates-io]](https://crates.io/crates/cxx)&ensp;[![do…
3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
9 //! This library provides a **safe** mechanism for calling C++ code from Rust
10 //! and Rust code from C++, not subject to the many ways that things can go
11 //! wrong when using bindgen or cbindgen to generate unsafe C-style bindings.
14 //! a project, you would be on the hook for auditing all the unsafe Rust code
17 //! the Rust side can be 100% safe.
36 //! embedded together in one Rust module (the next section shows an example).
[all …]
/third_party/gn/docs/
Dreference.md3 *This page is automatically generated from* `gn help --markdown all`.
32 * [rust_library: Declare a Rust library target.](#func_rust_library)
33 * [rust_proc_macro: Declare a Rust procedural macro target.](#func_rust_proc_macro)
65 * [split_list: Splits a list into N different sub-lists.](#func_split_list)
73 * [Built-in predefined variables](#predefined_variables)
92 * [aliased_deps: [scope] Set of crate-dependency pairs.](#var_aliased_deps)
99 * [bridge_header: [string] Path to C/Objective-C compatibility header.](#var_bridge_header)
111 …* [code_signing_args: [string list] [deprecated] Args for the post-processing script.](#var_code…
112 …* [code_signing_outputs: [file list] [deprecated] Outputs of the post-processing step.](#var_cod…
113 …* [code_signing_script: [file name] [deprecated] Script for the post-processing step.](#var_code…
[all …]
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs1 //! A simple big-integer type for slow path algorithms.
3 //! This includes minimal stackvector for use in big-integer arithmetic.
20 /// ≅ 3600 for base-10, rounded-up.
63 pub fn new() -> Self { in new()
71 pub fn from_u64(value: u64) -> Self { in from_u64()
78 pub fn hi64(&self) -> (u64, bool) { in hi64()
84 pub fn pow(&mut self, base: u32, exp: u32) -> Option<()> { in pow()
95 /// Calculate the bit-length of the big-integer.
97 pub fn bit_length(&self) -> u32 { in bit_length()
119 fn index(&self, index: usize) -> &T { in index()
[all …]
/third_party/rust/crates/log/src/
Dlib.rs1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
20 //! is very small - just an integer load, comparison and jump.
31 //! where `error!` represents the highest-priority log messages
42 //! [`println!`]: https://doc.rust-lang.org/stable/std/macro.println.html
54 //! # fn find_a_razor() -> Result<u32, u32> { Ok(1) }
[all …]

12