Skip to content

Commit 28d8a5f

Browse files
bors[bot]RalfJung
andauthored
Merge #298
298: release version 0.3.21 r=jethrogb a=RalfJung Also do `cargo update` (`cargo install` ignores lockfiles so this just syncs CI with what people would install anyway). r? @jethrogb Co-authored-by: Ralf Jung <[email protected]>
2 parents a534013 + e34d8e7 commit 28d8a5f

File tree

5 files changed

+84
-70
lines changed

5 files changed

+84
-70
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ matrix:
1212
- env: TARGET=x86_64-unknown-linux-gnu
1313
# Don't remove this target; test coverage in `smoke.rs` relies on us running at least
1414
# one pinned toolchain.
15-
rust: nightly-2019-02-01 # old version without rustc-std-workspace-core
15+
rust: nightly-2019-11-01
1616
if: branch = staging OR branch = trying
1717

1818
# Linux (build only)

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [v0.3.21] - 2020-07-11
7+
8+
### Fixed
9+
10+
- Make xargo fail on non-nightly, instead of continuing with the wrong sysroot.
11+
- Avoid adding '/' or '..' to paths for better Windows compatibility.
12+
613
## [v0.3.20] - 2020-03-25
714

815
### Fixed

Cargo.lock

Lines changed: 71 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["cli", "cross", "compilation", "std"]
88
license = "MIT OR Apache-2.0"
99
name = "xargo"
1010
repository = "https://github.com/japaric/xargo"
11-
version = "0.3.20"
11+
version = "0.3.21"
1212
default-run = "xargo"
1313

1414
[dependencies]

tests/smoke.rs

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -814,36 +814,21 @@ fn host_twice() {
814814
run!()
815815
}
816816

817-
/// Check multi stage sysroot builds with `xargo test`
817+
/// Check we can build+run `xargo test`
818818
#[cfg(feature = "dev")]
819819
#[test]
820820
fn host_libtest() {
821821
fn run() -> Result<()> {
822822
let project = HProject::new(true)?;
823823

824-
if std::env::var("TRAVIS_RUST_VERSION").ok().map_or(false,
825-
|var| var.starts_with("nightly-"))
826-
{
827-
// Testing an old version on CI, we need a different Xargo.toml.
828-
project.xargo_toml(
824+
project.xargo_toml(
829825
"
830826
[dependencies.std]
831827
features = [\"panic_unwind\"]
832828
833-
[dependencies.test]
834-
stage = 1
835-
",
836-
)?;
837-
} else {
838-
project.xargo_toml(
839-
"
840-
[dependencies.std]
841-
features = [\"panic_unwind\"]
842-
843829
[dependencies.test]
844830
",
845-
)?;
846-
}
831+
)?;
847832

848833
project.build("test")
849834
}
@@ -889,7 +874,7 @@ features = ["panic_unwind"]
889874
890875
[patch.crates-io.cc]
891876
git = "https://github.com/alexcrichton/cc-rs"
892-
tag = "1.0.28"
877+
tag = "1.0.37"
893878
"#,
894879
)?;
895880
let stderr = project.build_and_get_stderr()?;

0 commit comments

Comments
 (0)