Skip to content

Rollup of 9 pull requests #77954

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 36 commits into from
Oct 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a215151
Allow ascii whitespace char for doc aliases
GuillaumeGomez Oct 5, 2020
accc26a
Add test for whitespace in doc alias
GuillaumeGomez Oct 5, 2020
11f3476
Enforce whitespace ascii character check for doc alias
GuillaumeGomez Oct 6, 2020
861b892
Clean up rustdoc HTML tags check pass
GuillaumeGomez Oct 9, 2020
0009cba
Add check for HTML comments
GuillaumeGomez Oct 9, 2020
585e737
Validate references to source scopes
tmiasko Oct 14, 2020
de4bcfd
Include aarch64-pc-windows-msvc in the dist manifests
arlosi Oct 14, 2020
d7791f4
Remove unused code from rustc_middle
est31 Oct 9, 2020
49d4a75
Remove unused code from rustc_ast
est31 Oct 9, 2020
feaac59
Remove unused code from rustc_codegen_*
est31 Oct 9, 2020
6897619
Remove unused code from rustc_hir
est31 Oct 9, 2020
9ed2177
Remove unused code from rustc_infer
est31 Oct 9, 2020
338fad2
Remove unused code from rustc_query_system
est31 Oct 9, 2020
58b3923
Remove unused code from rustc_span
est31 Oct 9, 2020
215cd36
Remove unused code from remaining compiler crates
est31 Oct 9, 2020
dd3be78
Handle multi-line HTML comments
GuillaumeGomez Oct 13, 2020
c4c5653
x.py: setup: Refactor to centralise list of profiles
ijackson Oct 12, 2020
b7c6041
x.py: setup: Provide a description of what it does
ijackson Oct 12, 2020
6e9e040
x.py: setup: Offer keywords in interactive prompt
ijackson Oct 12, 2020
e905857
x.py setup: Fix handling of wrong interactive input
ijackson Oct 13, 2020
636728e
x.py setup: Avoid infinite loop if stdin is /dev/null
ijackson Oct 13, 2020
3019074
Remove needless alloc_slice
est31 Oct 14, 2020
c50a04b
Document -Z codegen-backend in the unstable book
XAMPPRocky Oct 14, 2020
a0ea351
Update src/doc/unstable-book/src/compiler-flags/codegen-backend.md
XAMPPRocky Oct 14, 2020
9ff647a
Update codegen-backend.md
XAMPPRocky Oct 14, 2020
6ae5f36
Update codegen-backend.md
XAMPPRocky Oct 14, 2020
2350e3f
Update books
ehuss Oct 14, 2020
35210a6
Rollup merge of #77570 - GuillaumeGomez:whitespace-doc-alias, r=jyn51…
JohnTitor Oct 14, 2020
022d207
Rollup merge of #77739 - est31:remove_unused_code, r=petrochenkov,varkor
JohnTitor Oct 14, 2020
5f5ef05
Rollup merge of #77753 - GuillaumeGomez:check-html-comments, r=jyn514
JohnTitor Oct 14, 2020
c268cc0
Rollup merge of #77879 - ijackson:x-py, r=jyn514
JohnTitor Oct 14, 2020
b3f9512
Rollup merge of #77902 - arlosi:arm64manifest, r=ehuss
JohnTitor Oct 14, 2020
0cf86c2
Rollup merge of #77934 - XAMPPRocky:codegen-backend-docs, r=jonas-sch…
JohnTitor Oct 14, 2020
df08fe7
Rollup merge of #77936 - est31:remove_needless_alloc_slice, r=jonas-s…
JohnTitor Oct 14, 2020
ccc86bb
Rollup merge of #77946 - tmiasko:validate-source-scope, r=jonas-schie…
JohnTitor Oct 14, 2020
00100a4
Rollup merge of #77951 - ehuss:update-books, r=ehuss
JohnTitor Oct 14, 2020
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
Update codegen-backend.md
  • Loading branch information
XAMPPRocky authored Oct 14, 2020
commit 6ae5f36d0d4527224295fbcd26ddbd70072cd6b8
3 changes: 3 additions & 0 deletions src/doc/unstable-book/src/compiler-flags/codegen-backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ backend. The library must be of crate type `dylib` and must contain a function
named `__rustc_codegen_backend` with a signature of `fn() -> Box<dyn rustc_codegen_ssa::traits::CodegenBackend>`.

## Example
See also the [`hotplug_codegen_backend`](https://github.com/rust-lang/rust/tree/master/src/test/run-make-fulldeps/hotplug_codegen_backend) test
for a full example.

```rust,ignore
use rustc_codegen_ssa::traits::CodegenBackend;

Expand Down