Skip to content

Commit d5d4009

Browse files
gnzlbgcrlf0710
authored andcommitted
Update libtest version, remove unnecessary feature(asm)
1 parent 312d9bf commit d5d4009

File tree

4 files changed

+53
-1766
lines changed

4 files changed

+53
-1766
lines changed

Cargo.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,16 @@ dependencies = [
14801480
"vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
14811481
]
14821482

1483+
[[package]]
1484+
name = "libtest"
1485+
version = "0.0.2"
1486+
source = "git+https://github.com/gnzlbg/libtest?branch=clippy_ci#1f13f7dd286fd16c76bd61ddcbe162fca9f9d9d2"
1487+
dependencies = [
1488+
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
1489+
"libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
1490+
"termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
1491+
]
1492+
14831493
[[package]]
14841494
name = "libz-sys"
14851495
version = "1.0.25"
@@ -3741,6 +3751,7 @@ dependencies = [
37413751
name = "test"
37423752
version = "0.0.0"
37433753
dependencies = [
3754+
"libtest 0.0.2 (git+https://github.com/gnzlbg/libtest?branch=clippy_ci)",
37443755
"getopts 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)",
37453756
"proc_macro 0.0.0",
37463757
"term 0.0.0",
@@ -4431,6 +4442,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
44314442
"checksum libgit2-sys 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "941a41e23f77323b8c9d2ee118aec9ee39dfc176078c18b4757d3bad049d9ff7"
44324443
"checksum libnghttp2-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d75d7966bda4730b722d1eab8e668df445368a24394bae9fc1e8dc0ab3dbe4f4"
44334444
"checksum libssh2-sys 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "126a1f4078368b163bfdee65fbab072af08a1b374a5551b21e87ade27b1fbf9d"
4445+
"checksum libtest 0.0.2 (git+https://github.com/gnzlbg/libtest?branch=clippy_ci)" = "<none>"
44344446
"checksum libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe"
44354447
"checksum lock_api 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "949826a5ccf18c1b3a7c3d57692778d21768b79e46eb9dd07bfc4c2160036c54"
44364448
"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"

src/librustdoc/test.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -745,20 +745,20 @@ impl Tester for Collector {
745745
&cratename,
746746
&filename,
747747
line,
748-
cfgs,
749-
libs,
750-
cg,
751-
externs,
748+
cfgs.clone(),
749+
libs.clone(),
750+
cg.clone(),
751+
externs.clone(),
752752
config.should_panic,
753753
config.no_run,
754754
config.test_harness,
755755
config.compile_fail,
756-
config.error_codes,
756+
config.error_codes.clone(),
757757
&opts,
758-
maybe_sysroot,
759-
linker,
758+
maybe_sysroot.clone(),
759+
linker.clone(),
760760
edition,
761-
persist_doctests
761+
persist_doctests.clone()
762762
);
763763

764764
if let Err(err) = res {

src/libtest/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ path = "lib.rs"
1010
crate-type = ["dylib", "rlib"]
1111

1212
[dependencies]
13-
getopts = "0.2.19"
14-
term = { path = "../libterm" }
13+
libtest = { version = "0.0.2", git = "https://github.com/gnzlbg/libtest", branch = "clippy_ci", features = ["unstable"] }
1514

1615
# not actually used but needed to always have proc_macro in the sysroot
1716
proc_macro = { path = "../libproc_macro" }

0 commit comments

Comments
 (0)