Skip to content

Rolling up PRs in the queue #24433

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 68 commits into from
Apr 15, 2015
Merged
Changes from 3 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
1a28237
Alter libcore::result example to utilize closure param
frewsxcv Apr 6, 2015
734bdc6
copyedits: functions
steveklabnik Apr 10, 2015
2b38819
copyedits: documentation
steveklabnik Apr 10, 2015
f1515fa
Add Default trait for AtomicBool, AtomicIsize and AtomicUsize
GuillaumeGomez Apr 10, 2015
f329030
std: Stabilize the Utf8Error type
alexcrichton Apr 10, 2015
912a872
Fixed with_extension documentation bug
tbelaire Apr 12, 2015
12d21bf
References to `CString::from_vec` changed to `new`
tbelaire Apr 12, 2015
219f61b
Make Debug include the - in -0.0
Apr 12, 2015
cef96b9
rustdoc: Prevent '/' from showing the help dialog
barosl Apr 11, 2015
c3c83bf
Arity link has moved to primitive-types.md.
Apr 13, 2015
e891f29
Fix ICE when returning a variable whose declaration is unreachable
dotdash Apr 13, 2015
6f54ce9
added _SC_NPROCESSORS_ONLN constants for linux and macos for fix #24374
oh-its-jimjam Apr 13, 2015
883bb65
remove duplicated linux sysconf mod
oh-its-jimjam Apr 13, 2015
39543e9
Don't try to suggest fields of an enum
arielb1 Apr 13, 2015
951db77
syntax: Publically expose printing where clauses, and add attr_to_string
erickt Apr 13, 2015
6fa16d6
pluralize doc comment verbs and add missing periods
apasel422 Apr 13, 2015
6399bb4
De-stabilize `thread::scoped` and friends
aturon Apr 13, 2015
f60f4b7
Fix check for globally routable IPv4 address
Apr 12, 2015
32f7e67
Refine read_to_end documentation
nagisa Apr 13, 2015
6e0fb70
Generalize `spawn` beyond unit closures
aturon Apr 13, 2015
01678ac
Expose visibility for fns in syntax::visit
nrc Apr 13, 2015
57e3475
Update vectors.md
Apr 13, 2015
8a65029
Link RBE more prominently
steveklabnik Apr 13, 2015
00867b3
Fix up nightly installation instructions.
steveklabnik Apr 14, 2015
942c97b
Make use of the stability attributes issue a deprecation warning. #22830
brson Apr 14, 2015
ab93a51
Point to From trait in error handling guide
fenduru Apr 14, 2015
a9fd41e
Fallout: move from scoped to spawn
aturon Apr 13, 2015
8b6987a
copyediting: structs
steveklabnik Apr 10, 2015
bf4e77d
std: Remove old_io/old_path/rand modules
alexcrichton Apr 10, 2015
359ab0b
rustc_back: Rewrite realpath to not use old_io
alexcrichton Apr 10, 2015
0516c40
std: Reexport some unstable rand functionality for now
alexcrichton Apr 10, 2015
84a89ed
compiletest: Re-add raise_fd_limit
alexcrichton Apr 10, 2015
adcd672
test: Fix fallout in run-pass tests
alexcrichton Apr 10, 2015
dddfbe0
syntax: Remove derive(Rand)
alexcrichton Apr 10, 2015
700e627
test: Fixup many library unit tests
alexcrichton Apr 10, 2015
b53319a
rand: Delete all doc tests
alexcrichton Apr 10, 2015
8f7eb3b
core: Update all Result docs
alexcrichton Apr 10, 2015
33fb5bb
bench: Fix fallout in benchmarks
alexcrichton Apr 10, 2015
9cd8a5a
std: Remove AsSlice/Str from the prelude
alexcrichton Apr 10, 2015
b8760af
More test fixes
alexcrichton Apr 10, 2015
6476a1e
mutability fixes
steveklabnik Apr 14, 2015
fb956dc
rollup merge of #24048: frewsxcv/patch-11
alexcrichton Apr 14, 2015
330466e
rollup merge of #24273: steveklabnik/even_moar_editing
alexcrichton Apr 14, 2015
88a145e
rollup merge of #24303: alexcrichton/remove-deprecated
alexcrichton Apr 14, 2015
34603b0
rollup merge of #24310: alexcrichton/stabilize-utf8-error
alexcrichton Apr 14, 2015
1c7ade9
rollup merge of #24329: GuillaumeGomez/atomicbool
alexcrichton Apr 14, 2015
5780fc1
rollup merge of #24337: barosl/rustdoc-help-key
alexcrichton Apr 14, 2015
e8ca9a6
rollup merge of #24342: tbelaire/patch-1
alexcrichton Apr 14, 2015
9f7b6cb
rollup merge of #24343: achanda/global_ip
alexcrichton Apr 14, 2015
83d79c6
rollup merge of #24350: tbelaire/cstring-doc-from-vec
alexcrichton Apr 14, 2015
db79ce0
rollup merge of #24368: kgv/fix
alexcrichton Apr 14, 2015
c24e55b
rollup merge of #24371: dotdash/24353
alexcrichton Apr 14, 2015
263314e
rollup merge of #24376: lambdaburrito/master
alexcrichton Apr 14, 2015
2795811
rollup merge of #24379: rkruppe/fmt-negative-zero
alexcrichton Apr 14, 2015
38c9e0f
rollup merge of #24380: arielb1/no-enum-suggest
alexcrichton Apr 14, 2015
52067fd
rollup merge of #24381: erickt/cleanup
alexcrichton Apr 14, 2015
d10be64
rollup merge of #24386: nagisa/rte-fix
alexcrichton Apr 14, 2015
d7ff4f5
rollup merge of #24391: nrc/visit-vis
alexcrichton Apr 14, 2015
ecbbbfa
rollup merge of #24393: steveklabnik/rbe
alexcrichton Apr 14, 2015
cf53ae0
rollup merge of #24394: rundrop1/patch-1
alexcrichton Apr 14, 2015
84e4a72
rollup merge of #24398: steveklabnik/thanks_mdinger
alexcrichton Apr 14, 2015
33733b7
rollup merge of #24399: brson/stab
alexcrichton Apr 14, 2015
7913f56
rollup merge of #24401: fenduru/patch-2
alexcrichton Apr 14, 2015
ae7959d
rollup merge of #24377: apasel422/docs
alexcrichton Apr 14, 2015
b9d9a37
rollup merge of #24385: aturon/unstable-scoped
alexcrichton Apr 14, 2015
30425bf
Test fixes and rebase conflicts
alexcrichton Apr 14, 2015
d3da5a7
Merge remote-tracking branch 'origin/master' into rollup
alexcrichton Apr 14, 2015
e053571
Test fixes and rebase conflicts, round 2
alexcrichton Apr 14, 2015
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
11 changes: 11 additions & 0 deletions src/liblibc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3344,6 +3344,8 @@ pub mod consts {
pub const _SC_XOPEN_REALTIME : c_int = 130;
pub const _SC_XOPEN_REALTIME_THREADS : c_int = 131;



pub const PTHREAD_CREATE_JOINABLE: c_int = 0;
pub const PTHREAD_CREATE_DETACHED: c_int = 1;

Expand Down Expand Up @@ -3727,12 +3729,14 @@ pub mod consts {
pub const _SC_2_FORT_RUN : c_int = 50;
pub const _SC_2_SW_DEV : c_int = 51;
pub const _SC_2_LOCALEDEF : c_int = 52;
pub const _SC_NPROCESSORS_ONLN : c_int = 84;
pub const _SC_2_CHAR_TERM : c_int = 95;
pub const _SC_2_C_VERSION : c_int = 96;
pub const _SC_2_UPE : c_int = 97;
pub const _SC_XBS5_ILP32_OFF32 : c_int = 125;
pub const _SC_XBS5_ILP32_OFFBIG : c_int = 126;
pub const _SC_XBS5_LPBIG_OFFBIG : c_int = 128;

}
#[cfg(target_os = "nacl")]
pub mod sysconf {
Expand All @@ -3742,6 +3746,13 @@ pub mod consts {
pub static _SC_NPROCESSORS_ONLN : c_int = 1;
pub static _SC_PAGESIZE : c_int = 2;
}

#[cfg(target_os = "macos")]
pub mod sysconf {
use types::os::arch::c95::c_int;
pub static _SC_NPROCESSORS_ONLN : c_int = 58;
}

#[cfg(target_os = "android")]
pub mod sysconf {
use types::os::arch::c95::c_int;
Expand Down