Skip to content

Commit de3e93c

Browse files
committed
Change target to riscv64gc-unknown-none-elf and remove copyright notice
1 parent 34ea8f4 commit de3e93c

File tree

4 files changed

+4
-14
lines changed

4 files changed

+4
-14
lines changed

src/ci/docker/dist-various-1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ ENV TARGETS=$TARGETS,thumbv7em-none-eabihf
112112
ENV TARGETS=$TARGETS,thumbv8m.main-none-eabi
113113
ENV TARGETS=$TARGETS,riscv32imc-unknown-none-elf
114114
ENV TARGETS=$TARGETS,riscv32imac-unknown-none-elf
115-
ENV TARGETS=$TARGETS,riscv64imc-unknown-none-elf
115+
ENV TARGETS=$TARGETS,riscv64gc-unknown-none-elf
116116
ENV TARGETS=$TARGETS,armebv7r-none-eabi
117117
ENV TARGETS=$TARGETS,armebv7r-none-eabihf
118118
ENV TARGETS=$TARGETS,armv7r-none-eabi

src/librustc_target/spec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ supported_targets! {
451451

452452
("riscv32imc-unknown-none-elf", riscv32imc_unknown_none_elf),
453453
("riscv32imac-unknown-none-elf", riscv32imac_unknown_none_elf),
454-
("riscv64imc-unknown-none-elf", riscv64imc_unknown_none_elf),
454+
("riscv64gc-unknown-none-elf", riscv64gc_unknown_none_elf),
455455

456456
("aarch64-unknown-none", aarch64_unknown_none),
457457

src/librustc_target/spec/riscv64imc_unknown_none_elf.rs renamed to src/librustc_target/spec/riscv64gc_unknown_none_elf.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
use spec::{LinkerFlavor, LldFlavor, PanicStrategy,
122
Target, TargetOptions, TargetResult};
133

144
pub fn target() -> TargetResult {
155
Ok(Target {
16-
data_layout: "e-m:e-i64:64-n64-S128".to_string(),
6+
data_layout: "e-m:e-p:64:64-i64:64-i128:128-n64-S128".to_string(),
177
llvm_target: "riscv64".to_string(),
188
target_endian: "little".to_string(),
199
target_pointer_width: "64".to_string(),

src/tools/build-manifest/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static TARGETS: &'static [&'static str] = &[
8585
"powerpc64le-unknown-linux-gnu",
8686
"riscv32imc-unknown-none-elf",
8787
"riscv32imac-unknown-none-elf",
88-
"riscv64imc-unknown-none-elf",
88+
"riscv64gc-unknown-none-elf",
8989
"s390x-unknown-linux-gnu",
9090
"sparc64-unknown-linux-gnu",
9191
"sparcv9-sun-solaris",

0 commit comments

Comments
 (0)