-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init: ref obi1kenobi/cargo-semver-checks#1068
- Loading branch information
0 parents
commit dc9f712
Showing
6 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "mre-rustflags-bug" | ||
version = "0.1.0" | ||
edition = "2024" | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
``` | ||
error: output of --print=file-names missing when learning about target-specific information from rustc | ||
command was: `/root/.cargo/bin/sccache /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names --cap-lints=allow --target | ||
aarch64-unknown-none-softfloat --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot -- | ||
print=split-debuginfo --print=crate-name --print=cfg` | ||
--- stdout | ||
___ | ||
lib___.rlib | ||
lib___.a | ||
/root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu | ||
off | ||
___ | ||
debug_assertions | ||
fmt_debug="full" | ||
overflow_checks | ||
panic="abort" | ||
proc_macro | ||
relocation_model="static" | ||
target_abi="softfloat" | ||
target_arch="aarch64" | ||
target_endian="little" | ||
target_env="" | ||
target_has_atomic | ||
target_has_atomic="128" | ||
target_has_atomic="16" | ||
target_has_atomic="32" | ||
target_has_atomic="64" | ||
target_has_atomic="8" | ||
target_has_atomic="ptr" | ||
target_has_atomic_equal_alignment="128" | ||
target_has_atomic_equal_alignment="16" | ||
target_has_atomic_equal_alignment="32" | ||
target_has_atomic_equal_alignment="64" | ||
target_has_atomic_equal_alignment="8" | ||
target_has_atomic_equal_alignment="ptr" | ||
target_has_atomic_load_store | ||
target_has_atomic_load_store="128" | ||
target_has_atomic_load_store="16" | ||
target_has_atomic_load_store="32" | ||
target_has_atomic_load_store="64" | ||
target_has_atomic_load_store="8" | ||
target_has_atomic_load_store="ptr" | ||
target_os="none" | ||
target_pointer_width="64" | ||
target_vendor="unknown" | ||
ub_checks | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export RUSTFLAGS=--cap-lints=allow | ||
cargo check --target aarch64-unknown-none-softfloat | ||
# cargo doc --lib --target aarch64-unknown-none-softfloat --no-deps --color=always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#![no_std] | ||
|
||
pub fn add(left: u64, right: u64) -> u64 { | ||
left + right | ||
} |