Skip to content
This repository was archived by the owner on Aug 12, 2021. It is now read-only.

Commit c304848

Browse files
committed
Rename libterm to rustc_term
1 parent 8aead3d commit c304848

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

libterm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
authors = ["The Rust Project Developers"]
3-
name = "term"
3+
name = "rustc_term"
44
version = "0.0.1"
55
edition = "2018"
6-
description = "Terminal formatting library"
6+
description = "Rust's libtest terminal formatting library"
77
license = "MIT/Apache-2.0"
88
documentation = "https://docs.rs/libterm"
99
homepage = "https://github.com/rust-lang/libtest"
1010
repository = "https://github.com/rust-lang/libtest"
1111

1212
[lib]
13-
name = "term"
13+
name = "rustc_term"
1414
path = "lib.rs"
1515
crate-type = ["dylib", "rlib"]

libtest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ crate-type = ["dylib", "rlib"]
1616

1717
[dependencies]
1818
getopts = "0.2"
19-
term = { version = "0.0.1", path = "../libterm" }
19+
rustc_term = { version = "0.0.1", path = "../libterm" }

libtest/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#![deny(rust_2018_idioms)]
2121
#![crate_name = "libtest"]
2222
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/", test(attr(deny(warnings))))]
23+
#![unstable(feature = "test", issue = "27812")]
2324
#![feature(asm)]
2425
#![feature(fnbox)]
2526
#![cfg_attr(any(unix, target_os = "cloudabi"), feature(libc, rustc_private))]
@@ -33,7 +34,7 @@
3334
use getopts;
3435
#[cfg(any(unix, target_os = "cloudabi"))]
3536
extern crate libc;
36-
use term;
37+
use rustc_term as term;
3738

3839
// FIXME(#54291): rustc and/or LLVM don't yet support building with panic-unwind
3940
// on aarch64-pc-windows-msvc, so we don't link libtest against

0 commit comments

Comments
 (0)