Home
last modified time | relevance | path

Searched refs:cargo (Results 1 – 25 of 175) sorted by relevance

1234567

/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
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
/third_party/rust/crates/minimal-lexical/ci/
Dtest.sh10 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
Dcomprehensive.sh7 cargo --version
21 cargo run $FEATURES --release --bin test-parse-golang
22 cargo run $FEATURES --release --bin test-parse-unittests
/third_party/rust/crates/clap/
DCargo.toml46 cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
74 unstable-doc = ["derive", "cargo", "wrap_help", "env", "unicode", "string", "unstable-replace"] # f…
87 cargo = ["dep:once_cell"] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macr…
130 name = "cargo-example"
131 required-features = ["cargo"]
134 name = "cargo-example-derive"
139 required-features = ["cargo"]
147 required-features = ["cargo"]
173 required-features = ["cargo"]
182 required-features = ["cargo"]
[all …]
DMakefile25 cargo check ${_FEATURES_${@:check-%=%}} ${ARGS}
28 cargo check ${_FEATURES_${@:check-%=%}} --all-targets ${ARGS}
31 cargo test ${_FEATURES_${@:build-%=%}} --all-targets --no-run ${ARGS}
34 cargo test ${_FEATURES_${@:test-%=%}} ${ARGS}
37 cargo clippy ${_FEATURES_${@:clippy-%=%}} ${ARGS} --all-targets -- -D warnings -A deprecated
40 cargo +${MSRV} test --test derive_ui --features derive ${_FEATURES_${@:test-ui-%=%}}
43 cargo doc --workspace --all-features --no-deps --document-private-items
/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/regex/bench/
Drun16 exec cargo bench --bench bench --features re-rust "$@"
19 exec cargo bench --bench bench --features re-rust-bytes "$@"
22 exec cargo bench --bench bench --features re-re2 "$@"
25 exec cargo bench --bench bench --features re-pcre1 "$@"
28 exec cargo bench --bench bench --features re-pcre2 "$@"
31 exec cargo bench --bench bench --features re-onig "$@"
34 exec cargo bench --bench bench --features re-tcl "$@"
/third_party/rust/crates/libc/ci/
Dbuild.sh44 cargo "+${RUST}" "${BUILD_CMD}" -vv --no-default-features --target "${TARGET}"
47 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
53 cargo "+${RUST}" "${BUILD_CMD}" -vv --target "${TARGET}"
55 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
61 cargo "+${RUST}" "${BUILD_CMD}" -vv --no-default-features --target "${TARGET}" \
64 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
72 cargo "+${RUST}" "${BUILD_CMD}" -vv --no-default-features --target "${TARGET}" \
75 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
83 cargo "+${RUST}" "${BUILD_CMD}" -vv --target "${TARGET}" \
86 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
Drun.sh53 cargo build \
94 …if cargo test --no-default-features --manifest-path libc-test/Cargo.toml --target "${TARGET}" ${LI…
99 …if cargo test --manifest-path libc-test/Cargo.toml --target "${TARGET}" ${LIBC_CI_ZBUILD_STD+"-Zbu…
104 …if cargo test --features extra_traits --manifest-path libc-test/Cargo.toml --target "${TARGET}" ${…
112 cargo test --no-default-features --manifest-path libc-test/Cargo.toml \
115cargo test --manifest-path libc-test/Cargo.toml --target "${TARGET}" ${LIBC_CI_ZBUILD_STD+"-Zbuild…
117 RUST_BACKTRACE=1 cargo test --features extra_traits --manifest-path libc-test/Cargo.toml \
Drun-docker.sh44 --env CARGO_HOME=/cargo \
46 --volume "$CARGO_HOME":/cargo \
75 --env CARGO_HOME=/cargo \
77 --volume "$CARGO_HOME":/cargo \
Dinstall-rust.sh61 command -v cargo
64 cargo -V
73 if cargo generate-lockfile; then
Ddox.sh53 if ! cargo doc --target "${target}" \
55 cargo doc --target "${target}" \
74 RUSTDOCFLAGS="--enable-index-page --index-page=${TARGET_DOC_DIR}/index.md -Zunstable-options" cargo
/third_party/rust/crates/cxx/third-party/
DBUCK4 load("@prelude//rust:cargo_package.bzl", "cargo")
14 cargo.rust_library(
35 cargo.rust_library(
59 cargo.rust_library(
82 cargo.rust_library(
106 cargo.rust_library(
134 cargo.rust_library(
157 cargo.rust_library(
184 cargo.rust_library(
213 cargo.rust_library(
[all …]
/third_party/rust/crates/bindgen/book/src/
Dtutorial-3.md7 `$OUT_DIR/bindings.rs` where `$OUT_DIR` is chosen by `cargo` and is something
19 // Tell cargo to look for shared libraries in the specified directory
20 println!("cargo:rustc-link-search=/path/to/lib");
22 // Tell cargo to tell rustc to link the system bzip2
24 println!("cargo:rustc-link-lib=bz2");
26 // Tell cargo to invalidate the built crate whenever the wrapper changes
27 println!("cargo:rerun-if-changed=wrapper.h");
36 // Tell cargo to invalidate the built crate whenever any of the
52 Now, when we run `cargo build`, our bindings to `bzip2` are generated on the
Dnon-system-libraries.md43 // Tell cargo to look for shared libraries in the specified directory
44 println!("cargo:rustc-link-search={}", libdir_path.to_str().unwrap());
46 // Tell cargo to tell rustc to link our `hello` library. Cargo will
48 println!("cargo:rustc-link-lib=hello");
50 // Tell cargo to invalidate the built crate whenever the header changes.
51 println!("cargo:rerun-if-changed={}", headers_path_str);
91 // Tell cargo to invalidate the built crate whenever any of the
Dtutorial-4.md17 We can run `cargo build` again to check that the bindings themselves compile:
20 $ cargo build
25 And we can run `cargo test` to verify that the layout, size, and alignment of
29 $ cargo test
/third_party/rust/crates/bindgen/ci/
Dtest.bat29 cargo test --features "%BINDGEN_FEATURES%" || exit /b 1
32 cargo test --features "%BINDGEN_FEATURES% testing_only_extra_assertions" || exit /b 1
35 cargo test --release --features "%BINDGEN_FEATURES% testing_only_extra_assertions" || exit /b 1
41 cargo test || exit /b 1
42 cargo test --release || exit /b 1
48 cargo test --features "%BINDGEN_FEATURES%" || exit /b 1
49 cargo test --release --features "%BINDGEN_FEATURES%" || exit /b 1
/third_party/rust/crates/regex/
Dtest10 cargo test
13 cargo test --doc
27 cargo test --test default --no-default-features --features "$f"
29 cargo test --test default-bytes --no-default-features --features "$f"
/third_party/rust/crates/minimal-lexical/scripts/
Dcheck.sh13 cargo +nightly fmt -- --check
14 cargo +nightly clippy --no-default-features -- --deny warnings
15 cargo +nightly clippy --features=compact -- --deny warnings
16 cargo +nightly clippy --features=alloc -- --deny warnings
/third_party/rust/crates/clap/.github/
Drenovate.json515 "matchManagers": ["cargo"],
22 "matchManagers": ["cargo"],
29 "matchManagers": ["cargo"],
37 "matchManagers": ["cargo"],
/third_party/rust/crates/nix/
DRELEASE_PROCEDURE.md6 Nix uses [cargo release](https://github.com/crate-ci/cargo-release) to automate
17 `cargo release <patch|minor|major>`
18 - Create the release with `cargo release -x <patch|minor|major>`
/third_party/mesa3d/.gitlab-ci/container/
Dbuild-rust.sh11 mkdir -p $HOME/.cargo
12 ln -s /usr/local/bin $HOME/.cargo/bin
25 cat > /root/.cargo/config <<EOF
/third_party/typescript/tests/baselines/reference/
DjsdocTypeFromChainedAssignment3.types2 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
3 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
7 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
11 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
15 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
19 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
23 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
27 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
31 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
35 …Series = exports.concatLimit = exports.concat = exports.compose = exports.cargo = exports.autoInje…
[all …]
/third_party/rust/crates/atty/
DREADME.md41 $ cargo run --example atty
50 $ echo "test" | cargo run --example atty
59 $ cargo run --example atty | grep std
68 $ cargo run --example atty 2>&1 | grep std

1234567