nandi/jolt-nativepublic Fork 0
dce285fb5a5ec1f331b8afa7b2bdc4ed5e1bbd46
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.

reindeer.toml · 42 lines · 1.3 KBTOML Blame HistoryRaw
Build under buck2, with the toolchain pinned rather than found 460541b nandi 19d ago1# Reindeer configuration for the buck2 third-party Rust crates.
2vendor = {}
3
4# Crates read CARGO_PKG_* at compile time; without this they fail to build.
5cargo_env = true
6
7# Feature resolution runs once per platform. Naming any platform replaces
Give the third-party crates a platform to be Android on 0238622 nandi 19d ago8# reindeer's default list; these are the desktop hosts this repo ships for,
9# plus the one device target.
Build under buck2, with the toolchain pinned rather than found 460541b nandi 19d ago10[platform.linux-x86_64]
11target = "x86_64-unknown-linux-gnu"
12execution-platform = true
13
14[platform.linux-arm64]
15target = "aarch64-unknown-linux-gnu"
16execution-platform = true
17
18[platform.macos-x86_64]
19target = "x86_64-apple-darwin"
20execution-platform = true
21
22[platform.macos-arm64]
23target = "aarch64-apple-darwin"
24execution-platform = true
25
Give the third-party crates a platform to be Android on 0238622 nandi 19d ago26# The phone. `execution-platform = false` is what makes it a target and only a
27# target: a build script still compiles and runs on the host, so its own
28# features are resolved against the host platform rather than unified into this
29# one. Get that wrong and a host-only dependency follows a build script into the
30# device graph.
31[platform.android-arm64]
32target = "aarch64-linux-android"
33execution-platform = false
34
Build under buck2, with the toolchain pinned rather than found 460541b nandi 19d ago35[buck]
36file_name = "BUCK"
37buckfile_imports = """
38load("@prelude//rust:cargo_package.bzl", "cargo")
39load("@prelude//rust:cargo_buildscript.bzl", "buildscript_run")
40"""
41rust_library = "cargo.rust_library"
42rust_binary = "cargo.rust_binary"