summary refs log tree commit diff
path: root/src/doc/trpl/no-stdlib.md
AgeCommit message (Collapse)AuthorLines
2015-09-30Update no_std docsSteve Klabnik-18/+20
This is part of #28572, but doesn't complete it. Amongst other things, this patch: * Increases consistency in the way feature flags are used with other docs. * Removes the ignores, which is nice: we actually had some syntax errors in the examples :sob:. * Mentions #![no_core] Realistically, this document used to be in the order of least to most: nothing, then adding core. But with the changes in RFC 1184, this is backwards: it now shows stuff that uses core from the beginning. In the future, I'd like to revamp this to go from 'most to least', but I'd like to see the discussion in https://github.com/rust-lang/rust/issues/27701 goes before I write more.
2015-08-10Remove morestack supportAlex Crichton-11/+2
This commit removes all morestack support from the compiler which entails: * Segmented stacks are no longer emitted in codegen. * We no longer build or distribute libmorestack.a * The `stack_exhausted` lang item is no longer required The only current use of the segmented stack support in LLVM is to detect stack overflow. This is no longer really required, however, because we already have guard pages for all threads and registered signal handlers watching for a segfault on those pages (to print out a stack overflow message). Additionally, major platforms (aka Windows) already don't use morestack. This means that Rust is by default less likely to catch stack overflows because if a function takes up more than one page of stack space it won't hit the guard page. This is what the purpose of morestack was (to catch this case), but it's better served with stack probes which have more cross platform support and no runtime support necessary. Until LLVM supports this for all platform it looks like morestack isn't really buying us much. cc #16012 (still need stack probes) Closes #26458 (a drive-by fix to help diagnostics on stack overflow)
2015-07-30Implement Win64 eh_personality natively.Vadim Chugunov-0/+3
2015-05-18TRPL: Add `rust` Marker to Some Code BlockPascal Hertleif-1/+1
This adds strictly more information to the source files and reduces the need for customized tooling to render the book. (While this should not change the output of _rustbook_, it is very useful when rendering the sources with external tools like Pandoc.)
2015-04-14disabling a test for bitrig and openbsdDave Huseby-1/+1
2015-03-27Test fixes and rebase conflicts, round 1Alex Crichton-2/+2
2015-03-26New section of the book: nightly rustSteve Klabnik-0/+168
Now that feature flags are only on nightly, it's good to split this stuff out.