Home
last modified time | relevance | path

Searched full:cargo (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/third_party/rust/crates/serde/.github/workflows/
Dci.yml18 - run: cd test_suite && cargo test --features unstable
26 - run: cd test_suite && cargo test --features unstable -- --skip ui --exact
40 - run: cd serde && cargo build --features rc
41 - run: cd serde && cargo build --no-default-features
42 - run: cd serde_test && cargo build
43 - run: cd serde_test && cargo test --features serde/derive,serde/rc
55 - run: cd serde && cargo build
56 - run: cd serde && cargo build --no-default-features
57 - run: cd serde && cargo build --no-default-features --features alloc
58 - run: cd serde && cargo build --no-default-features --features rc,alloc
[all …]
/third_party/rust/crates/log/.github/workflows/
Dmain.yml39 - run: cargo test --verbose
40 - run: cargo test --verbose --no-default-features
41 - run: cargo test --verbose --all-features
42 - run: cargo test --verbose --features serde
43 - run: cargo test --verbose --features std
44 - run: cargo test --verbose --features kv_unstable
45 - run: cargo test --verbose --features kv_unstable_sval
46 - run: cargo test --verbose --features kv_unstable_serde
47 …- run: cargo test --verbose --features "kv_unstable kv_unstable_std kv_unstable_sval kv_unstable_s…
48 - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml
[all …]
/third_party/rust/crates/syn/.github/workflows/
Dci.yml24 - run: cargo test --all-features --release --tests
55 - run: cargo check ${{env.target}} --no-default-features
56 - run: cargo check ${{env.target}}
57 - run: cargo check ${{env.target}} --features full
58 - run: cargo check ${{env.target}} --features 'fold visit visit-mut'
59 - run: cargo check ${{env.target}} --features 'full fold visit visit-mut'
60 - run: cargo check ${{env.target}} --no-default-features --features derive
61 - run: cargo check ${{env.target}} --no-default-features --features 'derive parsing'
62 - run: cargo check ${{env.target}} --no-default-features --features 'derive printing'
63 … - run: cargo check ${{env.target}} --no-default-features --features 'proc-macro parsing printing'
[all …]
/third_party/rust/crates/codespan/.github/workflows/
Dci.yml27 # Check each crate individually to work around rust-lang/cargo#4942
28 - name: Run cargo test for codespan-reporting
29 uses: actions-rs/cargo@v1
32 args: --manifest-path "codespan-reporting/Cargo.toml" --features "serialization"
33 - name: Run cargo test for codespan
34 uses: actions-rs/cargo@v1
37 args: --manifest-path "codespan/Cargo.toml" --features "serialization"
38 - name: Run cargo test for codespan-lsp
39 uses: actions-rs/cargo@v1
42 args: --manifest-path "codespan-lsp/Cargo.toml"
[all …]
/third_party/rust/crates/proc-macro2/.github/workflows/
Dci.yml34 - run: cargo test
35 - run: cargo test --no-default-features
36 - run: cargo test --features span-locations
37 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
38 run: cargo test
41 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features
42 run: cargo test --no-default-features
57 - run: cargo test
58 - run: cargo test --no-default-features
59 …- run: cargo test --no-default-features --test features -- --ignored make_sure_no_proc_macro # run…
[all …]
/third_party/rust/crates/rust-openssl/openssl/
Dbuild.rs11 println!("cargo:rustc-cfg=libressl"); in main()
15 println!("cargo:rustc-cfg=boringssl"); in main()
20 println!("cargo:rustc-cfg=libressl{}", v); in main()
25 println!("cargo:rustc-cfg=osslconf=\"{}\"", var); in main()
33 println!("cargo:rustc-cfg=ossl101"); in main()
36 println!("cargo:rustc-cfg=ossl102"); in main()
39 println!("cargo:rustc-cfg=ossl110"); in main()
42 println!("cargo:rustc-cfg=ossl110g"); in main()
45 println!("cargo:rustc-cfg=ossl110h"); in main()
48 println!("cargo:rustc-cfg=ossl111"); in main()
[all …]
/third_party/rust/crates/tracing/.github/workflows/
DCI.yml23 # Allow more retries for network requests in cargo (downloading crates) and
38 # Run `cargo check` first to ensure that the pushed code at least compiles.
39 name: cargo check
49 uses: actions-rs/cargo@v1
56 name: cargo fmt
68 uses: actions-rs/cargo@v1
94 name: cargo check (-Zminimal-versions)
104 - name: install cargo-hack
105 uses: taiki-e/install-action@cargo-hack
108 # Remove dev-dependencies from Cargo.toml to prevent the next `cargo update`
[all …]
/third_party/rust/crates/memchr/.github/workflows/
Dci.yml17 CARGO: cargo
18 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
86 cargo install --git https://github.com/rust-embedded/cross
87 echo "CARGO=cross" >> $GITHUB_ENV
99 - name: Show command used for Cargo
101 echo "cargo command is: ${{ env.CARGO }}"
106 - run: ${{ env.CARGO }} build --verbose $TARGET
107 - run: ${{ env.CARGO }} build --verbose $TARGET --no-default-features
108 - run: ${{ env.CARGO }} doc --verbose $TARGET
113 run: ${{ env.CARGO }} test --verbose $TARGET byte_order -- --nocapture
[all …]
/third_party/rust/crates/libc/
Dbuild.rs7 println!("cargo:rerun-if-changed=build.rs"); in main()
17 "cargo:warning=\"libc's use_std cargo feature is deprecated since libc 0.2.55; \ in main()
18 please consider using the `std` cargo feature instead\"" in main()
29 println!("cargo:rustc-cfg=freebsd10") in main()
31 Some(11) if libc_ci => println!("cargo:rustc-cfg=freebsd11"), in main()
32 Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"), in main()
33 Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"), in main()
34 Some(14) if libc_ci => println!("cargo:rustc-cfg=freebsd14"), in main()
35 Some(_) | None => println!("cargo:rustc-cfg=freebsd11"), in main()
40 println!("cargo:rustc-cfg=libc_deny_warnings"); in main()
[all …]
/third_party/rust/crates/linux-raw-sys/.github/workflows/
Dmain.yml26 cargo check --features "netlink"
27 cargo check --no-default-features --features "std netlink"
28 cargo check --no-default-features --features "no_std netlink"
29 cargo check --no-default-features --features "no_std general errno"
58 - run: cargo check --tests -vv
59 - run: cargo check --tests -vv --target=x86_64-unknown-linux-musl
60 - run: cargo check --tests -vv --target=x86_64-unknown-linux-gnux32
61 - run: cargo check --tests -vv --target=i686-unknown-linux-gnu
62 - run: cargo check --tests -vv --target=i686-unknown-linux-musl
63 - run: cargo check --tests -vv --target=riscv64gc-unknown-linux-gnu
[all …]
/third_party/rust/crates/clap/examples/
Dcargo-example.md1 For more on creating a custom subcommand, see [the cargo
2 book](https://doc.rust-lang.org/cargo/reference/external-tools.html#custom-subcommands).
3 The crate [`clap-cargo`](https://github.com/crate-ci/clap-cargo) can help in
4 mimicking cargo's interface.
8 $ cargo-example --help
9 Usage: cargo <COMMAND>
18 $ cargo-example example --help
21 Usage: cargo example [OPTIONS]
32 $ cargo-example example
35 $ cargo-example example --manifest-path Cargo.toml
[all …]
Dcargo-example-derive.md1 For more on creating a custom subcommand, see [the cargo
2 book](https://doc.rust-lang.org/cargo/reference/external-tools.html#custom-subcommands).
3 The crate [`clap-cargo`](https://github.com/crate-ci/clap-cargo) can help in
4 mimicking cargo's interface.
8 $ cargo-example-derive --help
9 Usage: cargo <COMMAND>
18 $ cargo-example-derive example-derive --help
21 Usage: cargo example-derive [OPTIONS]
32 $ cargo-example-derive example-derive
35 $ cargo-example-derive example-derive --manifest-path Cargo.toml
[all …]
/third_party/rust/crates/pin-utils/
D.travis.yml5 cache: cargo
11 - name: cargo test (minimum required version)
14 - name: cargo +stable test
17 - name: cargo test
20 - name: cargo test
23 - name: cargo clippy
27 - cargo clippy -- -Dwarnings
29 - name: cargo doc
32 - RUSTDOCFLAGS=-Dwarnings cargo doc
35 - cargo build
[all …]
/third_party/rust/crates/lazy-static.rs/
D.travis.yml7 - cargo test
8 - cargo test --features spin_no_std
13 - cargo test
14 - cargo bench
15 - cargo test --features spin_no_std
16 - cargo bench --features spin_no_std
18 - cargo clean
19 - cargo test
24 - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
26 - cargo doc --no-deps --all-features
[all …]
/third_party/rust/crates/aho-corasick/.github/workflows/
Dci.yml15 CARGO: cargo
16 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
77 cargo install --bins --git https://github.com/rust-embedded/cross --tag v0.2.1
78 echo "CARGO=cross" >> $GITHUB_ENV
80 - name: Show command used for Cargo
82 echo "cargo command is: ${{ env.CARGO }}"
87 - run: ${{ env.CARGO }} build --verbose
88 - run: ${{ env.CARGO }} doc --verbose
89 - run: ${{ env.CARGO }} test --verbose
91 run: ${{ env.CARGO }} build --manifest-path aho-corasick-debug/Cargo.toml
[all …]
/third_party/rust/crates/clap/
DCargo.toml18 "Cargo.toml",
46 cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
72 unstable-doc = ["derive", "cargo", "wrap_help", "env", "unicode", "string", "unstable-replace"] # f…
85 cargo = ["dep:once_cell"] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macr…
128 name = "cargo-example"
129 required-features = ["cargo"]
132 name = "cargo-example-derive"
137 required-features = ["cargo"]
145 required-features = ["cargo"]
171 required-features = ["cargo"]
[all …]
/third_party/rust/crates/minimal-lexical/docs/
DDevelopment.md7 cargo +nightly build
8 cargo +nightly test
39 cargo +nightly install cargo-valgrind
40 cargo +nightly install cargo-tarpaulin
41 cargo +nightly install cargo-fuzz
42 cargo +nightly install cargo-count
53 …d. This requires a nightly compiler installed via Rustup, which can be invoked as `cargo +nightly`.
56 …b.com/Alexhuszagh/minimal_lexical/blob/main/scripts/fmt.sh): Run `cargo fmt` and `cargo clippy` in…
63 RUSTFLAGS="--deny warnings" cargo +nightly build --features=lint
82 RUSTFLAGS="--deny warnings" cargo +nightly build --features=lint
[all …]
/third_party/rust/crates/num-traits/ci/
Dtest_full.sh38 cargo build
39 cargo test
42 cargo build --no-default-features
43 cargo test --no-default-features
47 cargo build --no-default-features --features="std $feature"
48 cargo test --no-default-features --features="std $feature"
50 cargo build --no-default-features --features="$feature"
51 cargo test --no-default-features --features="$feature"
55 cargo build --features="std ${FEATURES[*]}"
56 cargo test --features="std ${FEATURES[*]}"
[all …]
/third_party/rust/crates/regex/.github/workflows/
Dci.yml36 CARGO: cargo
37 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
99 cargo install --bins --git https://github.com/rust-embedded/cross --tag v0.2.1
100 echo "CARGO=cross" >> $GITHUB_ENV
103 - name: Show command used for Cargo
105 echo "cargo command is: ${{ env.CARGO }}"
113 run: ${{ env.CARGO }} build --verbose $TARGET
116 run: ${{ env.CARGO }} doc --verbose $TARGET
125 run: ${{ env.CARGO }} test --verbose --test default $TARGET
136 … RUST_REGEX_RANDOM_TEST=1 ${{ env.CARGO }} test --release --verbose --test crates-regex $TARGET
[all …]
/third_party/rust/crates/nix/
D.cirrus.yml3 fingerprint_script: cat Cargo.lock || echo ""
10 TOOL: cargo
18 - . $HOME/.cargo/env || true
24 - if [ -z "$NOHACK" ]; then mkdir -p $HOME/.cargo/bin; export PATH=$HOME/.cargo/bin:$PATH; fi
25 …f https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-${HOST:-$TARGET}.tar.g…
32 - . $HOME/.cargo/env || true
56 - . $HOME/.cargo/env
61 - . $HOME/.cargo/env
62 - cargo build --target i686-unknown-freebsd
63 - cargo doc --no-deps --target i686-unknown-freebsd
[all …]
/third_party/rust/crates/proc-macro2/
Dbuild.rs5 // except wasm32. Requires "proc-macro" Cargo cfg to be enabled (default is
34 // "span-locations" Cargo cfg. This is behind a cfg because tracking
48 println!("cargo:rerun-if-changed=build.rs"); in main()
64 println!("cargo:rustc-cfg=procmacro2_semver_exempt"); in main()
68 println!("cargo:rustc-cfg=span_locations"); in main()
72 println!("cargo:rustc-cfg=no_libprocmacro_unwind_safe"); in main()
76 println!("cargo:rustc-cfg=no_bind_by_move_pattern_guard"); in main()
80 println!("cargo:rustc-cfg=no_lexerror_display"); in main()
84 println!("cargo:rustc-cfg=no_hygiene"); in main()
88 println!("cargo:rustc-cfg=no_ident_new_raw"); in main()
[all …]
/third_party/rust/crates/lazycell/
D.travis.yml3 # necessary for `travis-cargo coveralls --no-sudo`
22 cache: cargo
24 # load travis-cargo
25 - pip install 'travis-cargo<0.2' --user
29 - travis-cargo build
30 - travis-cargo test
31 - travis-cargo bench
32 - travis-cargo --only stable doc
36 - travis-cargo --only stable doc-upload
39 # speed. <https://github.com/huonw/travis-cargo/issues/12>)
[all …]
/third_party/rust/crates/rustix/.github/workflows/
Dtest-users.yml100 - name: Configure Cargo target
155 - run: cargo install systemfd
157 - run: cd rust-listenfd && cargo update
158cargo tree --edges=normal |head -1 |sed 's/^[[:alnum:]_-]* v\([[:alnum:].-]*\) (.*/\1/'`'"$/versio…
160 - run: cd rust-listenfd && echo '[patch.crates-io]' >> Cargo.toml
161 - run: cd rust-listenfd && echo 'rustix = { path = ".." }' >> Cargo.toml
163 - run: cd thttp && echo '[patch.crates-io]' >> Cargo.toml
164 - run: cd thttp && echo 'listenfd = { path = "../rust-listenfd" }' >> Cargo.toml
165 - run: cd thttp && echo 'rustix = { path = ".." }' >> Cargo.toml
167 - run: cd thttp && cargo build
[all …]
/third_party/rust/crates/minimal-lexical/ci/
Dtest.sh9 # Print our cargo version, for debugging.
10 cargo --version
33 cargo check --tests $check_features
39 cargo build $DEFAULT_FEATURES
40 cargo build $DEFAULT_FEATURES --release
53 cargo test $DEFAULT_FEATURES $DOCTESTS
54 cargo test $DEFAULT_FEATURES $DOCTESTS --release
64 cargo test $DEFAULT_FEATURES $DOCTESTS
65 cargo test $DEFAULT_FEATURES $DOCTESTS --release
75 RUSTFLAGS="--deny warnings" cargo +nightly build --features=lint
/third_party/rust/crates/once_cell/xtask/src/
Dmain.rs14 let _e = sh.push_env("CARGO", ""); in main()
18 cmd!(sh, "cargo test --workspace --no-run").run()?; 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()
44 cmd!(sh, "cargo test --features unstable").run()?; in main()
50 sh.copy_file("Cargo.lock.msrv", "Cargo.lock")?; in main()
[all …]

12345678910>>...26