Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ winnow = "1.0.1"

[workspace.lints.rust]
rust_2018_idioms = "warn" # TODO: could this be removed?
# filetime uses the `emulate_second_only_system` cfg.
# https://crates.io/crates/filetime/0.2.29/code/src/lib.rs#L82
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(emulate_second_only_system)'] }

[workspace.lints.rustdoc]
private_intra_doc_links = "allow"
Expand Down
3 changes: 0 additions & 3 deletions crates/cargo-test-support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@ walkdir.workspace = true
[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem"] }

[build-dependencies]
build-rs.workspace = true

[lints]
workspace = true
9 changes: 0 additions & 9 deletions crates/cargo-test-support/build.rs

This file was deleted.

6 changes: 2 additions & 4 deletions crates/cargo-test-support/src/cross_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
//!
//! These tests are all disabled on rust-lang/rust's CI, but run in Cargo's CI.

use std::env;

/// The arch tuple of the test-running host.
/// The host tuple of the compiler used to build test projects.
pub fn native() -> &'static str {
env!("NATIVE_ARCH")
crate::rustc_host()
}

pub fn native_arch() -> &'static str {
Expand Down
Loading