Skip to content

Rollup of 8 pull requests #69094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Feb 12, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f8a0286
Speed up `SipHasher128`.
nnethercote Feb 6, 2020
9e78ce0
handle TerminatorKind::Yield by returning Err(Unpromotable)
chrissimpkins Feb 10, 2020
fc3ecb2
add issue 69017 test
chrissimpkins Feb 10, 2020
8d79921
parser: Remove `Parser::prev_token_kind`
petrochenkov Feb 10, 2020
53b16fb
add main function to issue-69017 test
chrissimpkins Feb 10, 2020
4cf0365
Bump version to backtrace without the header
yaahc Feb 10, 2020
1bba9cf
rustbuild: include channel in sanitizers installed name
Keruspe Feb 6, 2020
4e7aeaf
Improve `char::is_ascii_*` code
ranma42 Dec 24, 2019
d2b08c7
Update Cargo.lock
yaahc Feb 11, 2020
9aea154
Improve `u8to64_le`.
nnethercote Feb 11, 2020
090a157
Fix failing backtrace ui tests
yaahc Feb 12, 2020
d8544ce
remove some unused objects
ljedrz Feb 11, 2020
15adbf6
Properly use the darwin archive format on Apple targets
nox Feb 12, 2020
79ebf53
Rollup merge of #67585 - ranma42:fix/char-is-ascii-codegen, r=Amanieu
Dylan-DPC Feb 12, 2020
f2d829c
Rollup merge of #68914 - nnethercote:speed-up-SipHasher128, r=michael…
Dylan-DPC Feb 12, 2020
75a977d
Rollup merge of #68994 - Keruspe:sanitizers-conflict, r=Mark-Simulacrum
Dylan-DPC Feb 12, 2020
b695f99
Rollup merge of #69032 - chrissimpkins:ice-yield-println-#69017, r=pe…
Dylan-DPC Feb 12, 2020
42f371c
Rollup merge of #69034 - petrochenkov:notokind, r=Centril
Dylan-DPC Feb 12, 2020
6b40f59
Rollup merge of #69042 - yaahc:backtrace-header, r=dtolnay
Dylan-DPC Feb 12, 2020
db48a8a
Rollup merge of #69059 - ljedrz:unused_stuff, r=Dylan-DPC
Dylan-DPC Feb 12, 2020
d9982f1
Rollup merge of #69089 - nox:sym64-crash, r=eddyb
Dylan-DPC Feb 12, 2020
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
4 changes: 2 additions & 2 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"

[[package]]
name = "backtrace"
version = "0.3.40"
version = "0.3.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea"
checksum = "e4036b9bf40f3cf16aba72a3d65e8a520fc4bafcdc7079aea8f848c58c5b5536"
dependencies = [
"backtrace-sys",
"cfg-if",
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ hashbrown = { version = "0.6.2", default-features = false, features = ['rustc-de

[dependencies.backtrace_rs]
package = "backtrace"
version = "0.3.37"
version = "0.3.44"
default-features = false # without the libstd `backtrace` feature, stub out everything
features = [ "rustc-dep-of-std" ] # enable build support for integrating into libstd

Expand Down
1 change: 1 addition & 0 deletions src/libstd/sys_common/backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ unsafe fn _print_fmt(fmt: &mut fmt::Formatter<'_>, print_fmt: PrintFmt) -> fmt::
let mut print_path = move |fmt: &mut fmt::Formatter<'_>, bows: BytesOrWideString<'_>| {
output_filename(fmt, bows, print_fmt, cwd.as_ref())
};
write!(fmt, "stack backtrace:\n")?;
let mut bt_fmt = BacktraceFmt::new(fmt, print_fmt, &mut print_path);
bt_fmt.add_context()?;
let mut idx = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/std-backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ use std::str;
fn main() {
let args: Vec<String> = env::args().collect();
if args.len() >= 2 && args[1] == "force" {
println!("{}", std::backtrace::Backtrace::force_capture());
println!("stack backtrace:\n{}", std::backtrace::Backtrace::force_capture());
} else if args.len() >= 2 {
println!("{}", std::backtrace::Backtrace::capture());
println!("stack backtrace:\n{}", std::backtrace::Backtrace::capture());
} else {
runtest(&args[0]);
println!("test ok");
Expand Down