about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2020-08-30Rollup merge of #75892 - ArekPiekarz:unstable_book_tls_model_typo, ↵Dylan DPC-1/+1
r=petrochenkov Fix typo in TLS Model in Unstable Book
2020-08-27Auto merge of #74941 - dylanmckay:replace-broken-avr-unknown-unknown-target, ↵bors-1/+1
r=oli-obk [AVR] Replace broken 'avr-unknown-unknown' target with 'avr-unknown-gnu-atmega328' target The `avr-unknown-unknown` target has never worked correctly, always trying to invoke the host linker and failing. It aimed to be a mirror of AVR-GCC's default handling of the `avr-unknown-unknown' triple (assume bare minimum chip features, silently skip linking runtime libraries, etc). This behaviour is broken-by-default as it will cause a miscompiled executable when flashed. This patch improves the AVR builtin target specifications to instead expose only a 'avr-unknown-gnu-atmega328' target. This target system is `gnu`, as it uses the AVR-GCC frontend along with avr-binutils. The target triple ABI is 'atmega328'. In the future, it should be possible to replace the dependency on AVR-GCC and binutils by using the in-progress AVR LLD and compiler-rt support. Perhaps at that point it would make sense to add an 'avr-unknown-unknown-atmega328' target as a better default when implemented. There is no current intention to add in-tree AVR target specifications for other AVR microcontrollers - this one can serve as a reference implementation for other devices via `rustc --print target-spec-json avr-unknown-gnu-atmega328p`. There should be no users of the existing 'avr-unknown-unknown' Rust target as a custom target specification JSON has always been recommended, and the avr-unknown-unknown target could never pass the linking step anyway.
2020-08-26Unstable Book: add links to tracking issues for FFI featuresArkadiusz Piekarz-0/+10
2020-08-26nitsTshepang Lekhonkhobe-3/+3
2020-08-26Apply review suggestionCamelid-2/+2
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-26Clarify section on MIR constructionCamelid-5/+6
2020-08-25Fix typo (`thumbv8m.main-none-eabihf` is Mainline)Jonas Schievink-1/+1
2020-08-24Fix typo in TLS Model in Unstable BookArkadiusz Piekarz-1/+1
2020-08-24[AVR] Replace 'avr-unknown-unknown' with 'avr-unknown-gnu-atmega328' in ↵Dylan McKay-1/+1
platform-support.md
2020-08-23Document prim@ and primitive@Joshua Nelson-1/+1
2020-08-23Add new section to have a local HTTP server easily (#833)Guillaume Gomez-0/+16
2020-08-22Rollup merge of #75753 - koutheir:patch-1, r=steveklabnikDylan DPC-2/+3
Another motivation for CFG: return-oriented programming
2020-08-21Added link to Microsoft's documentation of CFGDr. Koutheir Attouchi-1/+1
2020-08-21Fixed a typoDr. Koutheir Attouchi-1/+1
2020-08-21fix type in example (#832)Gurwinder Singh-1/+1
Because the below explanation says that function type is `fn(u32) -> u32`
2020-08-21Improve wordingGuillaume Gomez-1/+1
2020-08-21Switched ROP link to Desktop layout instead of mobile layoutDr. Koutheir Attouchi-1/+1
2020-08-20Another motivation for CFG: return-oriented programmingDr. Koutheir Attouchi-1/+2
2020-08-20Add documentation for --show-coverage optionGuillaume Gomez-0/+33
2020-08-19Update booksEric Huss-0/+0
2020-08-19Remove duplicate MIR chapter entry (#830)Yuki Okushi-5/+6
2020-08-18Remove missing_fragment_specifier lintAleksey Kladov-9/+0
2020-08-17Document how to use build task for x.py check (#828)Aleksey Kladov-0/+22
2020-08-17Link ref to edge concept in graph theoryLzu Tao-1/+2
2020-08-17Mark x86_64-linux-kernel as *Sasha-1/+1
2020-08-17Remove unneeded hashmarks (#826)Who? Me?!-4/+4
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
2020-08-16Address revuew commentsMatthew Jasper-5/+5
2020-08-16 Document serialization in rustcMatthew Jasper-0/+165
2020-08-14Move CloudABI to tier 3.Eric Huss-1/+1
2020-08-13Auto merge of #75431 - ehuss:platform-support, r=Mark-Simulacrumbors-5/+234
Move platform support to the rustc book. This moves the [Platform Support](https://forge.rust-lang.org/release/platform-support.html) page from the forge to the rustc book. There are several reasons for doing this: * The forge is not really oriented towards end-users (it mostly contains infrastructure, governance and policy, internal team pages, etc.). This platform support page is useful to user to know which targets are supported. * This page can now be updated in-sync with any PRs that add or remove a target, or change its status. * This is now automatically checked on CI to verify the list does not get out of sync. Currently it only checks the presence/absence of an entry, but more sophisticated checks could be added in the future. I'm not 100% certain this is the best location, but I think it fits. I'd like to see the rustc guide continue to grow, including things like linking information and more platform-specific details.
2020-08-12Add a script to verify the Platform Support page is up-to-date.Eric Huss-8/+9
2020-08-11Some small fixes (#823)Takayuki Nakata-6/+6
* Fix some typos * Update from `typeck_tables_of` to `typeck` * Fix comment
2020-08-11Platform Support page updates.Eric Huss-193/+198
A few updates: - Some minor wording and formatting changes. - Remove the `cargo` column. - Explain the columns up-front. - Add no-wrap on the target-triple, which looks better to me. - Minor mention on how to install support for a built-in target via rustup.
2020-08-11Move forge platform-support to the rustc book.Eric Huss-0/+223
2020-08-06Update asm! documentation in unstable bookAmanieu d'Antras-1/+13
- Update the list of supported architectures. - Clarify issues with LLVM's use of reserved registers.
2020-08-04Update booksEric Huss-0/+0
2020-08-04Use angle brackets to turn URL into a linkTakayuki Nakata-2/+1
2020-08-04Fix typoTakayuki Nakata-1/+1
2020-08-04Fix a broken linkTakayuki Nakata-1/+1
2020-08-04Enable a linkTakayuki Nakata-1/+2
2020-08-03Some small fixesTakayuki Nakata-3/+2
2020-08-03Fix typoTakayuki Nakata-1/+1
2020-08-03Fix: crates -> a list of cratesTakayuki Nakata-2/+2
2020-08-03Avoid "whitelist"Takayuki Nakata-7/+7
Fixed according to https://github.com/rust-lang/rust/commit/62cf767a4a39b47677d18110359d9e7152dc9d1c
2020-08-03Fix examples not workingTakayuki Nakata-4/+1
2020-08-02Prefer `::` than `.`Yuki Okushi-4/+4
2020-08-02Fix link/wording for `parse_nt`Yuki Okushi-2/+3
2020-08-02TypoWho? Me?!-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-02some updates after std libs movemark-18/+29
2020-08-02TypoWho? Me?!-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>