Skip to content
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

Rollup of 4 pull requests #67987

Closed
wants to merge 21 commits into from
Closed
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
90adafb
Distinguish between private items and hidden items in rustdoc
dtolnay Jan 4, 2020
c09e16d
Add `const_trait_impl` feature gate
ecstatic-morse Jan 2, 2020
664fe3a
Add `const_trait_bound_opt_out` feature gate
ecstatic-morse Jan 2, 2020
37259f8
Add a `constness` field to `ast::TraitRef`
ecstatic-morse Jan 2, 2020
0de1693
Parse `impl const Trait for Ty` syntax
ecstatic-morse Jan 2, 2020
14fca9f
Parse `?const Trait` bound syntax
ecstatic-morse Jan 2, 2020
0c62c67
Error when new syntax is lowered
ecstatic-morse Jan 3, 2020
45eb0f8
Reject `const` in inherent impls
ecstatic-morse Jan 4, 2020
5d43134
Check for `?const` in invalid contexts during AST validation
ecstatic-morse Jan 5, 2020
14c9ab8
Add tests for RFC 2632
ecstatic-morse Jan 3, 2020
eabd51a
Call all visit methods on trait definitions
ecstatic-morse Jan 5, 2020
76ce7a0
Add test for `?const` and `?` on the same bound
ecstatic-morse Jan 5, 2020
532fd39
Make `bound_context` more like neighboring functions
ecstatic-morse Jan 6, 2020
19f74cb
Add test for `?const` in nested impl/dyn trait
ecstatic-morse Jan 6, 2020
012127b
Remove weak.rs for VxWorks
Dec 9, 2019
7aa8ae0
Split `rustc_mir::{build, hair, lints}` into their own crate
matthewjasper Jan 5, 2020
cec957e
ignore signal SIGPIPE
BaoshanPang Dec 20, 2019
a7529f7
Rollup merge of #67820 - ecstatic-morse:const-trait, r=oli-obk
Centril Jan 7, 2020
4b9d279
Rollup merge of #67875 - dtolnay:hidden, r=GuillaumeGomez
Centril Jan 7, 2020
efce4ca
Rollup merge of #67901 - matthewjasper:split-mir-build, r=nagisa
Centril Jan 7, 2020
567e61d
Rollup merge of #67977 - Wind-River:master_2020, r=alexcrichton
Centril Jan 7, 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
12 changes: 2 additions & 10 deletions src/libstd/sys/vxworks/mod.rs
Original file line number Diff line number Diff line change
@@ -36,18 +36,10 @@ pub use crate::sys_common::os_str_bytes as os_str;

#[cfg(not(test))]
pub fn init() {
// By default, some platforms will send a *signal* when an EPIPE error
// would otherwise be delivered. This runtime doesn't install a SIGPIPE
// handler, causing it to kill the program, which isn't exactly what we
// want!
//
// Hence, we set SIGPIPE to ignore when the program starts up in order
// to prevent this problem.
// ignore SIGPIPE
unsafe {
reset_sigpipe();
assert!(signal(libc::SIGPIPE, libc::SIG_IGN) != libc::SIG_ERR);
}

unsafe fn reset_sigpipe() {}
}

pub use libc::signal;
56 changes: 0 additions & 56 deletions src/libstd/sys/vxworks/weak.rs

This file was deleted.