about summary refs log tree commit diff
path: root/src/doc/rustc
AgeCommit message (Collapse)AuthorLines
2023-03-31More in-depth documentation for the new debuginfo optionsJulia Tatz-2/+2
2023-03-31Preserve, clarify, and extend debug informationJulia Tatz-3/+5
`-Cdebuginfo=1` was never line tables only and can't be due to backwards compatibility issues. This was clarified and an option for line tables only was added. Additionally an option for line info directives only was added, which is well needed for some targets. The debug info options should now behave the same as clang's debug info options.
2023-03-30Fix title for openharmony.mdAmanieu d'Antras-1/+1
2023-03-29Add QNX 7.0 x86 targetSam Kearney-3/+13
2023-03-29Switch to LLD as default linker for {arm,thumb}v4t-none-eabiQuinn Painter-7/+0
2023-03-28Add OpenHarmony targetsAmanieu d'Antras-0/+131
- `aarch64-unknown-linux-ohos` - `armv7-unknown-linux-ohos`
2023-03-14Rollup merge of #108722 - petrhosek:fuchsia-riscv, r=petrochenkovMatthias Krüger-0/+1
Support for Fuchsia RISC-V target Fuchsia is in the process of implementing the RISC-V support. This change implements the minimal Rust compiler support. The support for building runtime libraries will be implemented in follow up changes once Fuchsia SDK has the RISC-V support.
2023-03-11Rename `config.toml.example` to `config.example.toml`Thom Chiovoloni-1/+1
2023-03-05Add platform support documentation for x86_64h-apple-darwinThom Chiovoloni-0/+59
2023-03-05Rollup merge of #108613 - jyn514:rm-skip-rebuild, r=Mark-SimulacrumMatthias Krüger-1/+0
Remove `llvm.skip-rebuild` option This was added to in 2019 to speed up rebuild times when LLVM was modified. Now that download-ci-llvm exists, I don't think it makes sense to support an unsound option like this that can lead to miscompiles; and the code cleanup is nice too. r? `@Mark-Simulacrum` cc `@varkor` #65612
2023-03-04Support for Fuchsia RISC-V targetPetr Hosek-0/+1
Fuchsia is in the process of implementing the RISC-V support. This change implements the minimal Rust compiler support. The support for building runtime libraries will be implemented in follow up changes once Fuchsia SDK has the RISC-V support.
2023-03-03Rollup merge of #108634 - SUPERCILEX:patch-1, r=JohnTitorMatthias Krüger-0/+2
Add link to component dashboard It's a pain to find otherwise.
2023-03-02Rollup merge of #108585 - djkoloski:parallel_fuchsia_test_runner, r=tmandryMatthias Krüger-5/+2
Run compiler test suite in parallel on Fuchsia This also adds file locking around calls to `pm publish` as these calls are not thread-safe.
2023-03-02Auto merge of #106673 - flba-eb:add_qnx_nto_stdlib, r=workingjubileebors-27/+152
Add support for QNX Neutrino to standard library This change: - adds standard library support for QNX Neutrino (7.1). - upgrades `libc` to version `0.2.139` which supports QNX Neutrino `@gh-tr` ⚠️ Backtraces on QNX require https://github.com/rust-lang/backtrace-rs/pull/507 which is not yet merged! (But everything else works without these changes) ⚠️ Tested mainly with a x86_64 virtual machine (see qnx-nto.md) and partially with an aarch64 hardware (some tests fail due to constrained resources).
2023-03-01Add link to component dashboardAlex Saveau-0/+2
2023-03-01Run compiler test suite in parallel on FuchsiaDavid Koloski-5/+2
2023-03-01Remove `llvm.skip-rebuild` optionJoshua Nelson-1/+0
This was added to in 2019 to speed up rebuild times when LLVM was modified. Now that download-ci-llvm exists, I don't think it makes sense to support an unsound option like this that can lead to miscompiles; and the code cleanup is nice too.
2023-02-28Update Fuchsia platform team membersDavid Koloski-1/+0
2023-02-28Mark stdlib for QNX as fully availableFlorian Bartels-2/+2
2023-02-28Add QNX Neutrino support to libstdFlorian Bartels-25/+150
Co-authored-by: gh-tr <troach@qnx.com>
2023-02-24Update `fuchsia-test-runner.py` and docsDavid Koloski-14/+80
This updates the test runner to the latest version of the SDK and fixes debugging support for Rust source code.
2023-02-16Remove save-analysis.Nicholas Nethercote-1/+0
Most tests involving save-analysis were removed, but I kept a few where the `-Zsave-analysis` was an add-on to the main thing being tested, rather than the main thing being tested. For `x.py install`, the `rust-analysis` target has been removed. For `x.py dist`, the `rust-analysis` target has been kept in a degenerate form: it just produces a single file `reduced.json` indicating that save-analysis has been removed. This is necessary for rustup to keep working. Closes #43606.
2023-02-10Rollup merge of #107043 - Nilstrieb:true-and-false-is-false, r=wesleywiserMatthias Krüger-32/+32
Support `true` and `false` as boolean flag params Implements [MCP 577](https://github.com/rust-lang/compiler-team/issues/577).
2023-02-07Rollup merge of #107750 - tshepang:readability, r=GuillaumeGomezMatthias Krüger-1/+1
make more readable
2023-02-07make more readableTshepang Mbambo-1/+1
2023-02-07allow quick-edit convenienceTshepang Mbambo-0/+1
2023-02-02Use triple rather than arch for fuchsia test runnerJoseph Ryan-1/+1
2023-01-19Change codegen documentationNilstrieb-32/+32
2023-01-16Update instrument-coverage.mdgftea-0/+2
Document the default for LLVM_PROFILE_FILE and add a recemmondation for setting it for older versions of Rust which had a different default.
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-2/+2
2023-01-09Accept old spelling of Fuchsia target triplesDavid Koloski-0/+2
Because the old spelling is widely used, some projects may need time to migrate their uses to the new triple spelling. The old spelling may eventually be removed altogether.
2023-01-05Add vendor to Fuchsia's target tripleDavid Koloski-50/+50
Historically, Rust's Fuchsia targets have been labeled x86_64-fuchsia and aarch64-fuchsia. However, they should technically contain vendor information. This CL changes Fuchsia's target triples to include the "unknown" vendor since Clang now does normalization and handles all triple spellings. This was previously attempted in #90510, which was closed due to inactivity.
2023-01-04Rollup merge of #106464 - djkoloski:update_fuchsia_platform_support_docs, ↵Michael Goulet-0/+3
r=tmandry Update Fuchsia walkthrough with new configs The new `download-ci-llvm` configuration option dosn't work with `lld = true` (see #100853). The Fuchsia walkthrough should recommend setting it to `false`. r? `@tmandry`
2023-01-04Update Fuchsia walkthrough with new configsDavid Koloski-0/+3
The new `download-ci-llvm` configuration option dosn't work with `lld = true` (see #100853). The Fuchsia walkthrough should recommend setting it to `false`.
2023-01-03Auto merge of #105712 - amg98:feat/vita-support, r=wesleywiserbors-0/+129
PlayStation Vita support Just the compiler definitions for no-std projects and std support using newlib Earlier PR: https://github.com/rust-lang/rust/pull/105606
2022-12-30Added link from Targets to Platform Support in the bookTrevor Gross-1/+4
2022-12-16remove relative links from `rustc-book` and `unstable-book`Ezra Shaw-12/+12
Co-authored-by: Joshua Nelson <github@jyn.dev>
2022-12-14Added PlayStation Vita supportAndrés Martínez-0/+129
2022-12-10doc: document remap matching behaviour in rustc flagsAlexis (Poliorcetics) Bourget-0/+3
2022-11-29Rollup merge of #104523 - flba-eb:fix_nto_target_name, r=wesleywiserMatthias Krüger-11/+13
Don't use periods in target names Using a period in the target name can cause issues in e.g. cargo, see also https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Running.20tests.20on.20remote.20target
2022-11-29Rollup merge of #104465 - djkoloski:improve_fuchsia_testing_docs, r=tmandryMatthias Krüger-23/+60
Document more settings for building rustc for Fuchsia This documents that you need to link for Fuchsia with `lld` and provides configuration settings for both `clang` and `lld`. It also adjusts the documentation for running the test suite to recommend installing to a prefix. r? ``@tmandry``
2022-11-27Stabilize native library modifier `verbatim`Vadim Petrochenkov-0/+27
2022-11-17Remove periods from QNX/nto target namesFlorian Bartels-11/+11
2022-11-17Encourage developers not to use periods in target namesFlorian Bartels-0/+2
They can cause issues in e.g. cargo.
2022-11-17Add powerpc64-ibm-aix as Tier-3 targetQiu Chaofan-0/+1
2022-11-16[fuchsia] Document more settings for building RustDavid Koloski-23/+60
2022-11-16Rollup merge of #104137 - StackDoubleFlow:err-lsc-unsupported, r=bjorn3Matthias Krüger-2/+2
Issue error when -C link-self-contained option is used on unsupported platforms The documentation was also updated to reflect this. I'm assuming the supported platforms are the same as initially written in [RELEASES.md](https://github.com/rust-lang/rust/blob/master/RELEASES.md#compiler-17). Fixes #103576
2022-11-15Fuchsia test suite script fixAndrew Pollack-6/+12
2022-11-14Issue error when `-C link-self-contained` option is used on unsupported ↵StackDoubleFlow-2/+2
platforms Document supported targets for `-C link-self-contained` Move `LinkSelfContainedDefault::True` from wasm_base to wasm32_wasi
2022-11-15Rollup merge of #103842 - andrewpollack:add-fuchsia-test-script, r=tmandryMatthias Krüger-2/+54
Adding Fuchsia compiler testing script, docs Adding Fuchsia compiler testing script and related docs updates r? `@tmandry` cc. `@djkoloski`