Skip to content
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

Rollup of 23 pull requests #53252

Closed
wants to merge 80 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
b68b396
Don't collect() when size_hint is useless
ljedrz Aug 3, 2018
1667950
Remove explicit returns where unnecessary
ljedrz Aug 4, 2018
1dd53f7
Add aarch64-unknown-netbsd target
jakllsch Aug 4, 2018
bf089a1
[nll] libcore: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
26991eb
[nll] libprofiler_builtins: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
ed55520
[nll] librustc: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
9207cc9
[nll] librustc_allocator: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
c556cff
[nll] librustc_data_structures: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
75fa16b
[nll] libserialize: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
6858bd8
[nll] libsyntax: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
9d2c4a3
[nll] libtest: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
6c7473d
Deny future duplication of rustc-ap-syntax
alexcrichton Aug 9, 2018
c9aca02
Don't panic on std::env::vars() when env in null.
BurntPizza Aug 8, 2018
ffdac5d
Make SnapshotMap::{commit, rollback_to} take references
ljedrz Aug 9, 2018
1601879
Change transmute()s in IdxSet::{from_slice, from_slice_mut} to casts
ljedrz Aug 9, 2018
94c3856
A few cleanups for rustc_data_structures
ljedrz Aug 9, 2018
6563803
Don't set rlimit to a lower value than the current
varkor Aug 9, 2018
82a704a
Add a safety check for compiletest rlimit
varkor Aug 9, 2018
2cb91da
[nll] libsyntax_ext: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
ce5b9c6
[nll] libsyntax_ext: remove unnecessary mut annotation on variable
memoryruins Aug 9, 2018
4861643
[nll] libproc_macro: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
4b42a21
[nll] librustc_codegen_utils: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
8172485
[nll] librustc_llvm: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
588dbed
[nll] librustc_lsan: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
d9f2b51
[nll] librustc_msan: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
5840735
[nll] librustc_platform_intrinsics: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
ac9b7be
[nll] librustc_typeck: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
4aced68
[nll] librustdoc: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
1aa6c23
Feature gate where clauses on associated type impls
varkor Aug 9, 2018
898950c
targets: aarch64: Add bare-metal aarch64 target
andre-richter Aug 9, 2018
ef34a16
[nll] librustc_data_structures: remove unused mut annotation in test
memoryruins Aug 9, 2018
176f8c2
Removed `raw_identifiers` feature gate.
alexreg Aug 9, 2018
b187c42
Consider changing assert! to debug_assert! when it calls visit_with
ljedrz Aug 3, 2018
945f032
Add individual documentation for <integer>`.swap_bytes`/.`reverse_bits`
llogiq Aug 10, 2018
e8d95a5
[nll] libstd: enable feature(nll) for bootstrap
memoryruins Aug 10, 2018
5d6ca8e
[nll] librustc_mir: enable feature(nll) for bootstrap
memoryruins Aug 10, 2018
46b818e
[nll] librustc_codegen_llvm: enable feature(nll) for bootstrap
memoryruins Aug 10, 2018
085535b
[nll] librustc_codegen_llvm: change Child signature to fix error poin…
memoryruins Aug 10, 2018
0123ac1
[nll] librustc_codegen_llvm: remove unused mut annotation
memoryruins Aug 10, 2018
8a76656
Link compiler test documentation to rustc-guide
tromey Aug 1, 2018
3e13393
Rollup merge of #53019 - ljedrz:bad_collects, r=estebank
kennytm Aug 10, 2018
096fabe
Rollup merge of #53025 - ljedrz:debug_asserts_limited, r=varkor
kennytm Aug 10, 2018
6b06a8e
Rollup merge of #53059 - ljedrz:unneeded_returns, r=kennytm
kennytm Aug 10, 2018
e37391b
Remove unwanted console log
GuillaumeGomez Aug 10, 2018
538d1ba
aarch64-unknown-netbsd: add openssl configuration
jakllsch Aug 10, 2018
4076dc4
Update RLS
nrc Aug 9, 2018
a7830aa
Rollup merge of #53208 - BurntPizza:protect-the-environment, r=alexcr…
kennytm Aug 10, 2018
715581a
Rollup merge of #53210 - alexcrichton:deny-rustc-syntax, r=nrc
kennytm Aug 10, 2018
fdf4007
Rollup merge of #53229 - varkor:rlimits_min, r=nikomatsakis
kennytm Aug 10, 2018
28edfb0
Rollup merge of #53233 - andre-richter:master, r=alexcrichton
kennytm Aug 10, 2018
5a801c8
Fix styles
GuillaumeGomez Aug 11, 2018
53d308f
Show that Command can be reused and remodified
Havvy Aug 11, 2018
44af068
Remove statics field from CodegenCx
bjorn3 Aug 11, 2018
f9f934f
Add let keyword doc
GuillaumeGomez Aug 11, 2018
c95edca
Rollup merge of #53235 - varkor:gat_impl_where, r=estebank
kennytm Aug 10, 2018
dcfbdea
Rollup merge of #53236 - alexreg:stabilise-raw-idents, r=cramertj
kennytm Aug 10, 2018
9ec70d3
Rollup merge of #53240 - llogiq:doc-num-swap-reverse, r=joshtriplett
kennytm Aug 10, 2018
fa4dc7a
Rollup merge of #53253 - GuillaumeGomez:remove-console, r=kennytm
kennytm Aug 10, 2018
a64911c
Rollup merge of #52955 - tromey:compiler-test-docs, r=nikomatsakis
kennytm Aug 11, 2018
1bd57e2
Rollup merge of #53230 - memoryruins:nll_bootstrap_4, r=nikomatsakis
kennytm Aug 11, 2018
c0ee4e7
Rollup merge of #53165 - jakllsch:netbsd-ad22a005-b917-47f3-8156-f717…
kennytm Aug 11, 2018
aac3c2f
Rollup merge of #53238 - nrc:update, r=kennytm
kennytm Aug 11, 2018
ec18991
Add links to std::char::REPLACEMENT_CHARACTER from docs.
frewsxcv Aug 11, 2018
0070b46
Fix indent
Havvy Aug 11, 2018
90a6954
Emit error for pattern arguments in trait methods
varkor Aug 4, 2018
b05f0be
Suggest replacing patterns with underscores
varkor Aug 4, 2018
235905c
Fix handling of trait methods with bodies and improve efficiency
varkor Aug 6, 2018
a478cd4
Improve diagnostics
varkor Aug 6, 2018
e4c3b49
Emit an error during parsing
varkor Aug 9, 2018
49e9c5f
Add E0642 to parser error
varkor Aug 10, 2018
5c814e2
Clean up and add extra tests
varkor Aug 11, 2018
a012abc
Rollup merge of #53274 - bjorn3:remove_statics_field, r=nagisa
kennytm Aug 12, 2018
cbcfa2c
Rollup merge of #53223 - ljedrz:cleanup_data_structures, r=oli-obk
kennytm Aug 12, 2018
c0f4976
Rollup merge of #53231 - GuillaumeGomez:let-keyword, r=QuietMisdreavus
kennytm Aug 12, 2018
4250f9c
Rollup merge of #53264 - Havvy:patch-3, r=GuillaumeGomez
kennytm Aug 12, 2018
bc0c0ba
Rollup merge of #53273 - frewsxcv:frewsxcv-ufffd, r=GuillaumeGomez
kennytm Aug 12, 2018
6dd9bcc
Rollup merge of #53051 - varkor:trait-method-pattern-arguments-error,…
kennytm Aug 12, 2018
66fd1eb
Make LLVM emit assembly comments with -Z asm-comments.
whitequark Aug 12, 2018
16210e8
Rollup merge of #53290 - whitequark:fix-35741, r=nagisa
kennytm Aug 12, 2018
e330088
Rollup merge of #53267 - GuillaumeGomez:fix-styles, r=QuietMisdreavus
kennytm Aug 12, 2018
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
46 changes: 46 additions & 0 deletions src/librustc_target/spec/aarch64_unknown_none.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Generic AArch64 target for bare-metal code
//
// Can be used in conjunction with the `target-feature` and
// `target-cpu` compiler flags to opt-in more hardware-specific
// features.
//
// For example, `-C target-cpu=cortex-a53`.

use super::{LldFlavor, LinkerFlavor, Target, TargetOptions, PanicStrategy};

pub fn target() -> Result<Target, String> {
let opts = TargetOptions {
linker: Some("rust-lld".to_owned()),
executables: true,
relocation_model: "static".to_string(),
disable_redzone: true,
linker_is_gnu: true,
max_atomic_width: Some(128),
panic_strategy: PanicStrategy::Abort,
abi_blacklist: super::arm_base::abi_blacklist(),
.. Default::default()
};
Ok(Target {
llvm_target: "aarch64-unknown-none".to_string(),
target_endian: "little".to_string(),
target_pointer_width: "64".to_string(),
target_c_int_width: "32".to_string(),
target_os: "none".to_string(),
target_env: "".to_string(),
target_vendor: "".to_string(),
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
arch: "aarch64".to_string(),
linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
options: opts,
})
}
2 changes: 2 additions & 0 deletions src/librustc_target/spec/mod.rs
Original file line number Diff line number Diff line change
@@ -379,6 +379,8 @@ supported_targets! {
("x86_64-unknown-hermit", x86_64_unknown_hermit),

("riscv32imac-unknown-none-elf", riscv32imac_unknown_none_elf),

("aarch64-unknown-none", aarch64_unknown_none),
}

/// Everything `rustc` knows about how to compile for a specific target.