Home
last modified time | relevance | path

Searched +full:riscv64gc +full:- +full:unknown +full:- +full:linux +full:- +full:gnu (Results 1 – 25 of 26) sorted by relevance

12

/third_party/rust/crates/libc/
DCargo.toml5 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/libc"
8 homepage = "https://github.com/rust-lang/libc"
11 categories = ["external-ffi-bindings", "no-std", "os"]
19 features = ["const-extern-fn", "extra_traits"]
20 default-target = "x86_64-unknown-linux-gnu"
22 "aarch64-apple-darwin",
23 "aarch64-apple-ios",
24 "aarch64-linux-android",
25 "aarch64-pc-windows-msvc",
[all …]
/third_party/rust/crates/libc/ci/
Dbuild.sh8 set -ex
18 rustup component add rust-src
32 until [ $n -ge $N ]
34 if rustup target add "${TARGET}" --toolchain "${RUST}" ; then
44 cargo "+${RUST}" "${BUILD_CMD}" -vv --no-default-features --target "${TARGET}"
46 # FIXME: With `build-std` feature, `compiler_builtins` emits a lof of lint warnings.
47 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
48 -Z build-std=core,alloc -vv --no-default-features --target "${TARGET}"
53 cargo "+${RUST}" "${BUILD_CMD}" -vv --target "${TARGET}"
55 RUSTFLAGS="-A improper_ctypes_definitions" cargo "+${RUST}" "${BUILD_CMD}" \
[all …]
/third_party/rust/crates/linux-raw-sys/.github/workflows/
Dmain.yml6 - main
12 runs-on: ubuntu-latest
18 RUSTFLAGS: -D warnings
20 - uses: actions/checkout@v3
21 - run: |
26 cargo check --features "netlink"
27 cargo check --no-default-features --features "std netlink"
28 cargo check --no-default-features --features "no_std netlink"
29 cargo check --no-default-features --features "no_std general errno"
33 runs-on: ubuntu-latest
[all …]
/third_party/rust/rust/src/doc/rustc/src/
Dplatform-support.md5 white-space: nowrap;
11 for targets at each tier, see the [Target Tier Policy](target-tier-policy.md).
16 Component availability is tracked [here](https://rust-lang.github.io/rustup-components-history/).
28 see [Tier 1 with Host Tools](target-tier-policy.md#tier-1-with-host-tools) in
34 -------|-------
35 `aarch64-unknown-linux-gnu` | ARM64 Linux (kernel 4.1, glibc 2.17+) [^missing-stack-probes]
36 `i686-pc-windows-gnu` | 32-bit MinGW (Windows 7+) [^windows-support]
37 `i686-pc-windows-msvc` | 32-bit MSVC (Windows 7+) [^windows-support]
38 `i686-unknown-linux-gnu` | 32-bit Linux (kernel 3.2+, glibc 2.17+)
39 `x86_64-apple-darwin` | 64-bit macOS (10.7+, Lion+)
[all …]
/third_party/rust/rust/src/
Dstage0.json3 "dist_server": "https://static.rust-lang.org",
4 "artifacts_server": "https://ci-artifacts.rust-lang.org/rustc-builds",
5 "artifacts_with_llvm_assertions_server": "https://ci-artifacts.rust-lang.org/rustc-builds-alt",
6 "git_merge_commit_email": "bors@rust-lang.org",
13 "The section below is generated by `./x.py run src/tools/bump-stage0`,",
20 "date": "2023-07-13",
25 …"dist/2023-07-13/cargo-1.71.0-aarch64-apple-darwin.tar.gz": "e6c678fa6caaea333b3d05e3dc41842d8a37c…
26 …"dist/2023-07-13/cargo-1.71.0-aarch64-apple-darwin.tar.xz": "7637bc54d15cec656d7abb32417316546c7a7…
27 …"dist/2023-07-13/cargo-1.71.0-aarch64-pc-windows-msvc.tar.gz": "989cddc598aa72ef7574a0eb82c2119909…
28 …"dist/2023-07-13/cargo-1.71.0-aarch64-pc-windows-msvc.tar.xz": "f6df21c5f76c928d1c8fc721ea320846e6…
[all …]
/third_party/rust/rust/src/ci/docker/host-x86_64/dist-riscv64-linux/
DDockerfile3 COPY scripts/cross-apt-packages.sh /scripts/
4 RUN sh /scripts/cross-apt-packages.sh
6 COPY scripts/crosstool-ng.sh /scripts/
7 RUN sh /scripts/crosstool-ng.sh
9 COPY scripts/rustbuild-setup.sh /scripts/
10 RUN sh /scripts/rustbuild-setup.sh
13 COPY scripts/crosstool-ng-build.sh /scripts/
14 COPY host-x86_64/dist-riscv64-linux/riscv64-unknown-linux-gnu.defconfig /tmp/crosstool.defconfig
15 RUN /scripts/crosstool-ng-build.sh
20 ENV PATH=$PATH:/x-tools/riscv64-unknown-linux-gnu/bin
[all …]
/third_party/rust/rust/src/ci/docker/host-x86_64/disabled/riscv64gc-linux/
DDockerfile1 # based on armhf-gnu/Dockerfile
4 RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
5 RUN apt-get update -y && apt-get install -y --no-install-recommends \
8 ca-certificates \
12 debian-ports-archive-keyring \
16 gcc-riscv64-linux-gnu \
18 g++-riscv64-linux-gnu \
20 libc6-dev \
21 libc6-dev-riscv64-cross \
23 ninja-build \
[all …]
/third_party/rust/rust/library/portable-simd/.github/workflows/
Dci.yml7 - master
16 runs-on: ubuntu-latest
19 - uses: actions/checkout@v2
20 - name: Setup Rust
22 rustup update nightly --no-self-update
25 - name: Run rustfmt
26 run: cargo fmt --all -- --check
30 runs-on: ubuntu-latest
32 fail-fast: false
35 … # We shouldn't really have any OS-specific code, so think of this as a list of architectures
[all …]
/third_party/rust/crates/rustix/.github/workflows/
Dtest-users.yml10 runs-on: ${{ matrix.os }}
15 …build: [ubuntu, i686-linux, aarch64-linux, powerpc64le-linux, riscv64-linux, mipsel-linux, mips64e…
17 - build: ubuntu
18 os: ubuntu-latest
20 - build: i686-linux
21 os: ubuntu-latest
23 target: i686-unknown-linux-gnu
24 gcc_package: gcc-i686-linux-gnu
25 gcc: i686-linux-gnu-gcc
26 libc_package: libc-dev-i386-cross
[all …]
/third_party/rust/rust/src/tools/build-manifest/src/
Dmain.rs16 "aarch64-apple-darwin",
17 "aarch64-pc-windows-msvc",
18 "aarch64-unknown-linux-gnu",
19 "aarch64-unknown-linux-musl",
20 "arm-unknown-linux-gnueabi",
21 "arm-unknown-linux-gnueabihf",
22 "armv7-unknown-linux-gnueabihf",
23 "i686-apple-darwin",
24 "i686-pc-windows-gnu",
25 "i686-pc-windows-msvc",
[all …]
/third_party/rust/rust/src/tools/compiletest/src/
Dutil.rs13 "aarch64-apple-darwin",
14 "aarch64-apple-ios",
15 "aarch64-apple-ios-sim",
16 "aarch64-unknown-fuchsia",
17 "aarch64-linux-android",
18 "aarch64-unknown-linux-gnu",
19 "arm-linux-androideabi",
20 "armv7-linux-androideabi",
21 "i686-linux-android",
22 "i686-unknown-linux-gnu",
[all …]
/third_party/rust/rust/tests/assembly/stack-protector/
Dstack-protector-target-support.rs2 // targets, with the exception of nvptx64-nvidia-cuda
8 // assembly-output: emit-asm
9 // [r1] compile-flags: --target aarch64-unknown-linux-gnu
10 // [r1] needs-llvm-components: aarch64
11 // [r2] compile-flags: --target i686-pc-windows-gnu
12 // [r2] needs-llvm-components: x86
13 // [r3] compile-flags: --target i686-pc-windows-msvc
14 // [r3] needs-llvm-components: x86
15 // [r4] compile-flags: --target i686-unknown-linux-gnu
16 // [r4] needs-llvm-components: x86
[all …]
/third_party/rust/rust/tests/codegen/
Dabi-repr-ext.rs1 // compile-flags: -O
3 // revisions:x86_64 i686 aarch64-apple aarch64-windows aarch64-linux arm riscv
5 //[x86_64] compile-flags: --target x86_64-unknown-uefi
6 //[x86_64] needs-llvm-components: x86
7 //[i686] compile-flags: --target i686-unknown-linux-musl
8 //[i686] needs-llvm-components: x86
9 //[aarch64-windows] compile-flags: --target aarch64-pc-windows-msvc
10 //[aarch64-windows] needs-llvm-components: aarch64
11 //[aarch64-linux] compile-flags: --target aarch64-unknown-linux-gnu
12 //[aarch64-linux] needs-llvm-components: aarch64
[all …]
Dsome-abis-do-extend-params-to-32-bits.rs1 // compile-flags: -Cno-prepopulate-passes -Copt-level=0
3 // revisions:x86_64 i686 aarch64-apple aarch64-windows aarch64-linux arm riscv
5 //[x86_64] compile-flags: --target x86_64-unknown-uefi
6 //[x86_64] needs-llvm-components: x86
7 //[i686] compile-flags: --target i686-unknown-linux-musl
8 //[i686] needs-llvm-components: x86
9 //[aarch64-windows] compile-flags: --target aarch64-pc-windows-msvc
10 //[aarch64-windows] needs-llvm-components: aarch64
11 //[aarch64-linux] compile-flags: --target aarch64-unknown-linux-gnu
12 //[aarch64-linux] needs-llvm-components: aarch64
[all …]
/third_party/rust/rust/src/bootstrap/
Dconfigure.py3 # ignore-tidy-linelength
36 o("compiler-docs", "build.compiler-docs", "build compiler documentation")
37 o("optimize-tests", "rust.optimize-tests", "build tests with optimizations")
38 o("verbose-tests", "rust.verbose-tests", "enable verbose output when running tests")
41 o("local-rust", None, "use an installed rustc rather than downloading a snapshot")
42 v("local-rust-root", None, "set prefix for local rust binary")
43 …"local-rebuild", "build.local-rebuild", "assume local-rust matches the current version, for rebuil…
44 o("llvm-static-stdcpp", "llvm.static-libstdcpp", "statically link to libstdc++ for LLVM")
45 o("llvm-link-shared", "llvm.link-shared", "prefer shared linking to LLVM (llvm-config --link-shared…
47 o("codegen-tests", "rust.codegen-tests", "run the tests/codegen tests")
[all …]
Dllvm.rs8 //! LLVM and compiler-rt are essentially just wired up to everything else to
30 /// Path to llvm-config binary.
31 /// NB: This is always the host llvm-config!
69 /// It's used to avoid busting caches during x.py check -- if we've already built
72 /// This will return the llvm-config if it can get it (but it will not build it
77 ) -> Result<LlvmResult, Meta> { in prebuilt_llvm_config()
96 let root = "src/llvm-project/llvm"; in prebuilt_llvm_config()
104 let build_llvm_config = llvm_config_ret_dir.join(exe("llvm-config", builder.config.build)); in prebuilt_llvm_config()
108 let stamp = out_dir.join("llvm-finished-building"); in prebuilt_llvm_config()
129 pub(crate) fn detect_llvm_sha(config: &Config, is_git: bool) -> String { in detect_llvm_sha()
[all …]
Dbootstrap.py52 "Pre-built artifacts might not be available for this "
53 "target at this time, see https://doc.rust-lang.org/nightly"
54 "/rustc/platform-support.html for more information.")
60 print("using already-download file", path, file=sys.stderr)
64 print("ignoring already-download file",
92 # https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/)
94 # - If we are on win32 fallback to powershell
95 # - Otherwise raise the error if appropriate
101 option = "-#"
103 option = "-s"
[all …]
/third_party/rust/rust/src/ci/docker/host-x86_64/dist-various-1/
DDockerfile3 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
10 libtool-bin \
14 xz-utils \
15 libncurses-dev \
18 ninja-build \
21 ca-certificates \
26 xz-utils \
27 zlib1g-dev \
28 g++-arm-linux-gnueabi \
29 g++-arm-linux-gnueabihf \
[all …]
/third_party/protobuf/
DCargo.bazel.lock4 "aho-corasick 1.1.2": {
5 "name": "aho-corasick",
7 "package_url": "https://github.com/BurntSushi/aho-corasick",
10 "url": "https://static.crates.io/crates/aho-corasick/1.1.2/download",
36 "perf-literal",
58 "license_file": "LICENSE-MIT"
92 "license": "Apache-2.0 OR MIT",
94 "Apache-2.0",
97 "license_file": "LICENSE-APACHE"
99 "direct-cargo-bazel-deps 0.0.1": {
[all …]
/third_party/rust/crates/libc/.github/workflows/
Dbors.yml6 - auto-libc
7 - try
13 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds)
16 name: Docker Linux Tier1
17 runs-on: ubuntu-22.04
19 fail-fast: true
22 i686-unknown-linux-gnu,
23 x86_64-unknown-linux-gnu,
26 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
29 - uses: actions/checkout@v3
[all …]
/third_party/rust/rust/src/tools/remote-test-client/src/
Dmain.rs1 //! This is a small client program intended to pair with `remote-test-server` in
38 "spawn-emulator" => spawn_emulator( in main()
52 "help" | "-h" | "--help" => help(), in main()
54 println!("unknown command: {}", cmd); in main()
68 let rootfs = rootfs.as_ref().expect("need rootfs on non-android"); in spawn_emulator()
91 let status = Command::new("adb").arg("wait-for-device").status().unwrap(); in start_android_emulator()
112 "arm-unknown-linux-gnueabihf" | "aarch64-unknown-linux-gnu" => { in prepare_rootfs()
115 "riscv64gc-unknown-linux-gnu" => prepare_rootfs_ext4(rootfs, rootfs_img), in prepare_rootfs()
124 // find $rootfs -print 0 | cpio --null -o --format=newc > rootfs.img in prepare_rootfs_cpio()
126 cmd.arg("--null") in prepare_rootfs_cpio()
[all …]
/third_party/rust/rust/compiler/rustc_target/src/spec/
Dmod.rs1 //! [Flexible target specification.](https://github.com/rust-lang/rfcs/pull/131)
11 //! A target triple, as passed via `rustc --target=TRIPLE`, will first be
12 //! compared against the list of built-in targets. This is to ease distributing
13 //! rustc (no need for configuration files) and also to hold these built-in
14 //! targets as immutable and sacred. If `TRIPLE` is not one of the built-in
23 //! `--target=path/to/my-awesome-platform.json` instead of adding to
30 //! underscore in the field names should be replaced with a hyphen (`-`) in the
32 //! `llvm-target`, `target-endian`, `target-pointer-width`, `data-layout`,
33 //! `arch`, and `os`. In general, options passed to rustc with `-C` override
34 //! the target's settings, though `target-feature` and `link-args` will *add*
[all …]
/third_party/rust/rust/src/doc/unstable-book/src/compiler-flags/
Dsanitizer.md5 * [#39699](https://github.com/rust-lang/rust/issues/39699).
6 * [#89653](https://github.com/rust-lang/rust/issues/89653).
8 ------------------------
14 forward-edge control flow protection.
18 Flow Integrity (KCFI) provides forward-edge control flow protection for
20 * [LeakSanitizer](#leaksanitizer) a run-time memory leak detector.
23 Armv8.5-A Memory Tagging Extension.
24 * [SafeStack](#safestack) provides backward-edge control flow protection by separating the stack in…
25 * [ShadowCallStack](#shadowcallstack) provides backward-edge control flow protection (aarch64 only).
28 To enable a sanitizer compile with `-Zsanitizer=address`,`-Zsanitizer=cfi`,
[all …]
/third_party/rust/rust/tests/codegen/riscv-abi/
Driscv64-lp64-lp64f-lp64d-abi.rs1 // compile-flags: --target riscv64gc-unknown-linux-gnu -O -C no-prepopulate-passes
2 // needs-llvm-components: riscv
28 pub extern "C" fn f_scalar_0(a: bool) -> bool { in f_scalar_0()
34 pub extern "C" fn f_scalar_1(x: i8) -> i8 { in f_scalar_1()
40 pub extern "C" fn f_scalar_2(x: u8) -> u8 { in f_scalar_2()
46 pub extern "C" fn f_scalar_3(x: i32) -> u32 { in f_scalar_3()
52 pub extern "C" fn f_scalar_4(x: i64) -> i64 { in f_scalar_4()
58 pub extern "C" fn f_fp_scalar_1(x: f32) -> f32 { in f_fp_scalar_1()
63 pub extern "C" fn f_fp_scalar_2(x: f64) -> f64 { in f_fp_scalar_2()
72 pub extern "C" fn f_agg_empty_struct(e: Empty) -> Empty { in f_agg_empty_struct()
[all …]
/third_party/rust/crates/bindgen/bindgen/
Dlib.rs8 //! See the [Users Guide](https://rust-lang.github.io/rust-bindgen/) for
87 fn file_is_cpp(name_file: &str) -> bool { in file_is_cpp()
94 fn args_are_cpp(clang_args: &[Box<str>]) -> bool { in args_are_cpp()
96 if w[0].as_ref() == "-xc++" || w[1].as_ref() == "-xc++" { in args_are_cpp()
99 if w[0].as_ref() == "-x" && w[1].as_ref() == "c++" { in args_are_cpp()
102 if w[0].as_ref() == "-include" && file_is_cpp(w[1].as_ref()) { in args_are_cpp()
129 pub fn functions(self) -> bool { in functions()
134 pub fn types(self) -> bool { in types()
139 pub fn vars(self) -> bool { in vars()
144 pub fn methods(self) -> bool { in methods()
[all …]

12