Skip to content

Fix for #31267 and additional zero-width constant bug #31291

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

Closed
wants to merge 46 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b2c93d8
Update expression span when transcribing macro args
fhahn Jan 21, 2016
4ac233f
Update tests
fhahn Jan 23, 2016
ce7492d
Set span for interpolated tokens correctly
fhahn Jan 23, 2016
710dda8
Use interpolated token span when building spans for bigger expressions
fhahn Jan 24, 2016
caa9ad5
Add interpolated_or_expr_span macro and pass lo to newly added parse_…
fhahn Jan 26, 2016
37a69e0
Push try! to call site of interpolated_or_expr_span!
fhahn Jan 26, 2016
13b7a0c
Turn interpolated_or_expr_span into a function
fhahn Jan 27, 2016
8fc43d5
Avoid storing interolated token in Parser.last_token
fhahn Jan 27, 2016
dc2b72b
Add NOTE test annotations
fhahn Jan 27, 2016
65c8105
collections: Hash VecDeque in its slice parts
bluss Jan 26, 2016
25a93d8
Improve syntax-index entry for lifetime bounds
Manishearth Jan 4, 2016
351e59a
Added info on the build system to contributing guide
gchp Jan 25, 2016
6760e2b
Updated to reflect comments from review
gchp Jan 26, 2016
d4dcfa6
Re-worded intro paragraph to be more positive
gchp Jan 26, 2016
196ebc4
Fix examples that use missing_docs lint
mbrubeck Jan 26, 2016
7c72c03
book: cover UFCS in Syntax Index
durka Jan 26, 2016
56981c3
capitalization and associated types
durka Jan 26, 2016
6db8cb4
Mention that globs import public symbols
steveklabnik Jan 26, 2016
a5a94c7
Add size hints for BTreeSet iterators
mbrubeck Jan 26, 2016
1264e7c
trpl: fix macro follow sets
durka Jan 27, 2016
0da67f6
Add section about memory safety to `ffi::CString` documentation
dirk Jan 24, 2016
deeaa6b
Fix formatting in documentation of `ffi::CString`
dirk Jan 27, 2016
1e6efb1
doc: insert missing chars
tshepang Jan 27, 2016
eda6b42
Fix checking if there have been new errors.
tmiasko Jan 28, 2016
29fd7ac
Implement MultiSpan error reporting
mitaa Dec 13, 2015
31f057a
Add dependency tracking to trait cache in translation context
michaelwoerister Jan 21, 2016
e6d2a7a
Implement the translation item collector.
michaelwoerister Nov 2, 2015
abca698
Add caching of external MIR in trans::collector
michaelwoerister Jan 26, 2016
0e7d05d
Avoid redundant work for drop-glue translation items in trans::collector
michaelwoerister Jan 26, 2016
8d5b4e1
Add support for armv7 toolchains
fabricedesre Jan 28, 2016
806e5ff
Scaffold internals docs & add initial overview
gchp Jan 15, 2016
a18d6c0
Integrate overview section with existing docs
gchp Jan 24, 2016
3de4e75
Resolve: stop requiring that use declarations precede statements in b…
jseyfried Jan 23, 2016
f9cf64c
Resolve: Fix an ICE that occurs when an identifier refers to an indet…
jseyfried Jan 26, 2016
e959665
Add test for #31212
jseyfried Jan 26, 2016
5079454
Refactor away NameSearchType
jseyfried Jan 26, 2016
4ce71ed
mk: Remove the -mfpu=vfp4 argument from arm iOS
alexcrichton Jan 28, 2016
af28a66
don't leak RUST_BACKTRACE into test process
oli-obk Jan 28, 2016
e7ea801
Fix reference info about parent doc block comments
est31 Jan 28, 2016
5acc2c4
rustdoc: Add missing trailing comma for single element tuples
ollie27 Jan 28, 2016
639957f
rustdoc: Add test for tuple rendering
ollie27 Jan 28, 2016
2526dfe
std::string::String.from_utf16 doc fix
Jan 28, 2016
b98194d
std: Fix rumprun build
alexcrichton Jan 29, 2016
f3eecbb
mk: Fix cross prefix for powerpc64
alexcrichton Jan 29, 2016
fdded1c
Avoid ICE if environment variable is not set
ruuda Jan 27, 2016
c6636d2
Fix for #31267 - associated const related ICE.
sdleffler Jan 29, 2016
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
Prev Previous commit
Next Next commit
std: Fix rumprun build
Looks like the rumprun build has bitrotted over time, so this includes some libc
fixes and some various libstd fixes which gets it back to bootstrapping.
  • Loading branch information
alexcrichton authored and sdleffler committed Jan 31, 2016
commit b98194dba3ec0dd75bd6600f9cb87a4216e409d7
2 changes: 1 addition & 1 deletion src/liblibc
13 changes: 9 additions & 4 deletions src/libstd/sys/unix/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use cmp;
#[cfg(not(target_env = "newlib"))]
use ffi::CString;
use io;
use libc::PTHREAD_STACK_MIN;
use libc;
use mem;
use ptr;
Expand Down Expand Up @@ -339,14 +338,20 @@ fn min_stack_size(attr: *const libc::pthread_attr_t) -> usize {
});

match unsafe { __pthread_get_minstack } {
None => PTHREAD_STACK_MIN as usize,
None => libc::PTHREAD_STACK_MIN as usize,
Some(f) => unsafe { f(attr) as usize },
}
}

// No point in looking up __pthread_get_minstack() on non-glibc
// platforms.
#[cfg(not(target_os = "linux"))]
#[cfg(all(not(target_os = "linux"),
not(target_os = "netbsd")))]
fn min_stack_size(_: *const libc::pthread_attr_t) -> usize {
libc::PTHREAD_STACK_MIN as usize
}

#[cfg(target_os = "netbsd")]
fn min_stack_size(_: *const libc::pthread_attr_t) -> usize {
PTHREAD_STACK_MIN as usize
2048 // just a guess
}