We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fcbf73 + 27f84f6 commit be41d1eCopy full SHA for be41d1e
tests/testsuite/profile_trim_paths.rs
@@ -1,12 +1,10 @@
1
//! Tests for `-Ztrim-paths`.
2
3
use cargo_test_support::basic_manifest;
4
-use cargo_test_support::compare::match_contains;
5
use cargo_test_support::git;
6
use cargo_test_support::paths;
7
use cargo_test_support::project;
8
use cargo_test_support::registry::Package;
9
-use cargo_util::is_ci;
10
11
#[cargo_test]
12
fn gated_manifest() {
@@ -696,6 +694,9 @@ fn custom_build_env_var_trim_paths() {
696
694
#[cfg(unix)]
697
695
#[cargo_test(requires_lldb, nightly, reason = "-Zremap-path-scope is unstable")]
698
fn lldb_works_after_trimmed() {
+ use cargo_test_support::compare::match_contains;
+ use cargo_util::is_ci;
699
+
700
if !is_ci() {
701
// On macOS lldb requires elevated privileges to run developer tools.
702
// See rust-lang/cargo#13413
0 commit comments