nandi/jolt-nativepublic Fork 0
384390d0e216cb6f0e9be8e597b9d16e7a64bb29
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

BUCK · 34 lines · 1.1 KBPython Blame HistoryRaw
Fetch rustc the way buck can ship it, from what DotSlash already pins 8cf1b33 nandi 19d ago1# The pinned toolchains, fetched by buck rather than by the shims. See
2# ../dist.bzl; the versions and digests come from scripts/*.dotslash.
Cross-compile for Android, with an NDK nobody has to install 14a30c0 nandi 19d ago3load(
4 "//:dist.bzl",
5 "android_ndk_dist",
6 "dotslash_dist",
7 "rust_android_sysroot",
8 "rust_dist",
9 "rust_std_android_dist",
10 "zig_dist",
11)
Fetch rustc the way buck can ship it, from what DotSlash already pins 8cf1b33 nandi 19d ago12
13rust_dist(name = "rust", platform = "linux-x86_64")
14
15zig_dist(name = "zig", platform = "linux-x86_64")
Cross-compile for Android, with an NDK nobody has to install 14a30c0 nandi 19d ago16
17# What fetches the NDK, rather than the NDK. See dist.bzl, and ../ndk.sh for
18# why the big archive is the one thing here buck does not carry.
19dotslash_dist(name = "dotslash", platform = "linux-x86_64")
20
21# Kept for a build that would rather have the NDK as a real input than fetch it
22# where it runs — nothing depends on this today.
23android_ndk_dist(name = "android-ndk", platform = "linux-x86_64")
24
25rust_std_android_dist(name = "rust-std-android", platform = "linux-x86_64")
26
27# What the Rust toolchain hands rustc as --sysroot when the target is Android.
28rust_android_sysroot(
29 name = "android-sysroot",
30 rust = ":rust",
31 rust_std = ":rust-std-android",
32 host_triple = "x86_64-unknown-linux-gnu",
33 target_triple = "aarch64-linux-android",
34)