Home
last modified time | relevance | path

Searched +full:rust +full:- +full:std +full:- +full:x86_64 +full:- +full:unknown +full:- +full:linux +full:- +full:gnu (Results 1 – 25 of 34) sorted by relevance

12

/third_party/rust/crates/libc/ci/
Dbuild.sh4 # Rust version:
8 set -ex
13 RUST=${TOOLCHAIN}
15 echo "Testing Rust ${RUST} on ${OS}"
18 rustup component add rust-src
26 # If there is a std component, fetch it:
32 until [ $n -ge $N ]
34 if rustup target add "${TARGET}" --toolchain "${RUST}" ; then
42 # Test that libc builds without any default features (no std)
44 cargo "+${RUST}" "${BUILD_CMD}" -vv --no-default-features --target "${TARGET}"
[all …]
Drun.sh6 set -ex
8 MIRRORS_URL="https://ci-mirrors.rust-lang.org/libc"
19 tmpdir=/tmp/qemu-img-creation
20 mkdir -p "${tmpdir}"
22 if [ -z "${QEMU#*.gz}" ]; then
25 if [ ! -f "${tmpdir}/${qemufile}" ]; then
26 curl --retry 5 "${MIRRORS_URL}/${QEMU}" | \
27 gunzip -d > "${tmpdir}/${qemufile}"
29 elif [ -z "${QEMU#*.xz}" ]; then
32 if [ ! -f "${tmpdir}/${qemufile}" ]; then
[all …]
/third_party/rust/crates/rustix/.github/workflows/
Dmain.yml6 - main
13 runs-on: ubuntu-latest
15 - uses: actions/checkout@v3
18 - uses: ./.github/actions/install-rust
21 - run: cargo fmt --all -- --check
25 runs-on: ${{ matrix.os }}
30 - build: stable
31 os: ubuntu-latest
32 rust: stable
33 - build: nightly
[all …]
Dtest-users.yml10 runs-on: ${{ matrix.os }}
15 …build: [ubuntu, i686-linux, aarch64-linux, powerpc64le-linux, riscv64-linux, mipsel-linux, mips64e…
17 - build: ubuntu
18 os: ubuntu-latest
19 rust: nightly
20 - build: i686-linux
21 os: ubuntu-latest
22 rust: nightly
23 target: i686-unknown-linux-gnu
24 gcc_package: gcc-i686-linux-gnu
[all …]
/third_party/rust/crates/libc/
DCargo.toml4 authors = ["The Rust Project Developers"]
5 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/libc"
8 homepage = "https://github.com/rust-lang/libc"
11 categories = ["external-ffi-bindings", "no-std", "os"]
19 features = ["const-extern-fn", "extra_traits"]
20 default-target = "x86_64-unknown-linux-gnu"
22 "aarch64-apple-darwin",
23 "aarch64-apple-ios",
24 "aarch64-linux-android",
[all …]
/third_party/rust/crates/libc/.github/workflows/
Dbors.yml6 - auto-libc
7 - try
13 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds)
16 name: Docker Linux Tier1
17 runs-on: ubuntu-22.04
19 fail-fast: true
22 i686-unknown-linux-gnu,
23 x86_64-unknown-linux-gnu,
26 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
29 - uses: actions/checkout@v3
[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/humantime/
Dvagga.yaml47 - !Ubuntu xenial
48 - !UbuntuUniverse
49 - !Install [ca-certificates, build-essential, vim]
51 - !TarInstall
52 url: "https://static.rust-lang.org/dist/rust-1.31.0-x86_64-unknown-linux-gnu.tar.gz"
53 script: "./install.sh --prefix=/usr \
54 --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
55 - &bulk !Tar
56 url: "https://github.com/tailhook/bulk/releases/download/v0.4.10/bulk-v0.4.10.tar.gz"
66 - !UbuntuRelease
[all …]
/third_party/rust/crates/linux-raw-sys/.github/workflows/
Dmain.yml6 - main
12 runs-on: ubuntu-latest
15 rust: [stable, nightly, 1.48]
18 RUSTFLAGS: -D warnings
20 - uses: actions/checkout@v3
21 - run: |
23 rustup install ${{ matrix.rust }}
24 rustup default ${{ matrix.rust }}
26 cargo check --features "netlink"
27 cargo check --no-default-features --features "std netlink"
[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/rustix/
DCargo.toml8 description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls"
10 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
14 categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"]
16 rust-version = "1.48"
18 [build-dependencies]
23 itoa = { version = "1.0.1", default-features = false, optional = true }
24 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"], optional = true…
26 # Special dependencies used in rustc-dep-of-std mode.
27 core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
28 alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
[all …]
/third_party/rust/crates/linux-raw-sys/
DCargo.toml2 name = "linux-raw-sys"
5 description = "Generated bindings for Linux's userspace API"
6 documentation = "https://docs.rs/linux-raw-sys"
7 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
8 repository = "https://github.com/sunfishcode/linux-raw-sys"
10 keywords = ["linux", "uapi", "ffi"]
11 categories = ["external-ffi-bindings"]
13 rust-version = "1.48"
16 core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
19 [dev-dependencies]
[all …]
/third_party/rust/crates/version_check/src/
Dlib.rs2 //! version requirements. The version is queried by calling the Rust compiler
3 //! with `--version`. The path to the compiler is determined first via the
12 //! ```rust
16 //! println!("cargo:rustc-cfg=question_mark_operator");
23 //! * Check that the running compiler was released on or after `2018-12-18`:
25 //! ```rust
28 //! match rustc::is_min_date("2018-12-18") {
40 //! ```rust
52 //! ```rust
56 //! println!("cargo:rustc-cfg=has_doc_cfg");
[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/cxx/
DCargo.toml5 categories = ["development-tools::ffi", "api-bindings", "no-std"]
6 description = "Safe interop between Rust and C++"
9 exclude = ["/demo", "/gen", "/syntax", "/third-party", "/tools/buck/prelude"]
12 license = "MIT OR Apache-2.0"
15 rust-version = "1.60"
18 default = ["std", "cxxbridge-flags/default"] # c++11
19 "c++14" = ["cxxbridge-flags/c++14"]
20 "c++17" = ["cxxbridge-flags/c++17"]
21 "c++20" = ["cxxbridge-flags/c++20"]
23 std = ["alloc"]
[all …]
/third_party/rust/crates/serde/serde/
DCargo.toml6 categories = ["encoding", "no-std", "no-std::no-alloc"]
12 license = "MIT OR Apache-2.0"
13 readme = "crates-io.md"
14 repository = "https://github.com/serde-rs/serde"
15 rust-version = "1.31"
20 [dev-dependencies]
24 doc-scrape-examples = false
31 targets = ["x86_64-unknown-linux-gnu"]
32 rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]
46 default = ["std"]
[all …]
/third_party/rust/crates/serde/serde_derive/
DCargo.toml5 categories = ["no-std", "no-std::no-alloc"]
10 license = "MIT OR Apache-2.0"
11 readme = "crates-io.md"
12 repository = "https://github.com/serde-rs/serde"
13 rust-version = "1.56"
21 proc-macro = true
24 proc-macro2 = { workspace = true, features = ["proc-macro"] }
25 quote = { workspace = true, features = ["proc-macro"] }
26 syn = { workspace = true, features = ["clone-impls", "derive", "parsing", "printing", "proc-macro"]…
28 [dev-dependencies]
[all …]
/third_party/rust/crates/link-cplusplus/
DCargo.toml2 name = "link-cplusplus"
5 categories = ["external-ffi-bindings", "development-tools::ffi", "compilers", "no-std"]
7 documentation = "https://docs.rs/link-cplusplus"
10 license = "MIT OR Apache-2.0"
12 repository = "https://github.com/dtolnay/link-cplusplus"
13 rust-version = "1.34"
15 [build-dependencies]
29 targets = ["x86_64-unknown-linux-gnu"]
/third_party/rust/crates/unicode-ident/
DCargo.toml2 name = "unicode-ident"
5 categories = ["development-tools::procedural-macro-helpers", "no-std"]
7 documentation = "https://docs.rs/unicode-ident"
10 license = "(MIT OR Apache-2.0) AND Unicode-DFS-2016"
11 repository = "https://github.com/dtolnay/unicode-ident"
12 rust-version = "1.31"
14 [dev-dependencies]
15 criterion = { version = "0.4", default-features = false }
19 ucd-trie = { version = "0.1", default-features = false }
20 unicode-xid = "0.2.4"
[all …]
/third_party/rust/crates/cxx/gen/cmd/
DCargo.toml2 name = "cxxbridge-cmd"
5 categories = ["development-tools::build-utils", "development-tools::ffi"]
6 description = "C++ code generator for integrating `cxx` crate into a non-Cargo build."
11 license = "MIT OR Apache-2.0"
13 rust-version = "1.56"
21 experimental-async-fn = []
24 clap = { version = "4", default-features = false, features = ["error-context", "help", "std", "sugg…
25 codespan-reporting = "0.11"
26 proc-macro2 = { version = "1.0.58", default-features = false, features = ["span-locations"] }
27 quote = { version = "1.0", default-features = false }
[all …]
/third_party/rust/crates/clap/clap_complete_fig/
DCargo.toml5 repository = "https://github.com/clap-rs/clap/tree/master/clap_complete_fig"
6 categories = ["command-line-interface"]
15 rust-version.workspace = true
19 targets = ["x86_64-unknown-linux-gnu"]
22 pre-release-replacements = [
26 …{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased…
27 …{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https:…
34 clap = { path = "../", version = "4.0.0", default-features = false, features = ["std"] }
37 [dev-dependencies]
39 clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "help"] }
/third_party/rust/crates/clap/clap_mangen/
DCargo.toml5 repository = "https://github.com/clap-rs/clap/tree/master/clap_mangen"
6 categories = ["command-line-interface"]
15 rust-version.workspace = true
19 targets = ["x86_64-unknown-linux-gnu"]
22 pre-release-replacements = [
26 …{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased…
27 …{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https:…
28 …{file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/…
36 clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "env"] }
38 [dev-dependencies]
[all …]
/third_party/rust/crates/clap/clap_complete/
DCargo.toml5 repository = "https://github.com/clap-rs/clap/tree/master/clap_complete"
6 categories = ["command-line-interface"]
15 rust-version.workspace = true
19 targets = ["x86_64-unknown-linux-gnu"]
22 pre-release-replacements = [
26 …{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased…
27 …{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https:…
28 …{file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/…
35 clap = { path = "../", version = "4.1.0", default-features = false, features = ["std"] }
38 os_str_bytes = { version = "6.0.0", default-features = false, features = ["raw_os_str"], optional =…
[all …]
/third_party/rust/crates/libc/libc-test/
Dbuild.rs6 use std::fs::File;
7 use std::io::{BufRead, BufReader, BufWriter, Write};
8 use std::path::{Path, PathBuf};
9 use std::{env, io};
26 if target.contains("linux") in do_cc()
35 if target.contains("android") || target.contains("linux") { in do_cc()
38 if target.contains("linux") in do_cc()
55 t if t.contains("linux") => return test_linux(t), in do_ctest()
64 t if t.contains("nto-qnx") => return test_neutrino(t), in do_ctest()
65 t => panic!("unknown target {}", t), in do_ctest()
[all …]
/third_party/rust/crates/once_cell/xtask/src/
Dmain.rs4 use std::time::Instant;
10 fn main() -> xshell::Result<()> { in main()
18 cmd!(sh, "cargo test --workspace --no-run").run()?; in main()
24 for &release in &[None, Some("--release")] { in main()
25 cmd!(sh, "cargo test --features unstable {release...}").run()?; in main()
28 "cargo test --no-default-features --features unstable,std,parking_lot {release...}" in main()
34 cmd!(sh, "cargo test --no-default-features --features unstable --test it").run()?; in main()
35 cmd!(sh, "cargo test --no-default-features --features unstable,alloc --test it").run()?; in main()
37 cmd!(sh, "cargo test --no-default-features --features critical-section").run()?; in main()
38 cmd!(sh, "cargo test --features critical-section").run()?; in main()
[all …]

12