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

Build under buck2, with the toolchain pinned rather than found 460541b · on 14a30c029628db6eb0966e8de5efffa1aeeafc57 · nandi · 19d ago
BUCK · 35 lines · 1.4 KBPython Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# The vendored cpal, which reindeer cannot generate a target for: it arrives as
# a path patch rather than a registry or git source, and reindeer only emits
# targets for sources it vendors. See the patch table in ../Cargo.toml for why
# the copy exists at all, and fixups/moq-media for what points at this.
#
# Without the `pipewire` feature, matching how ../Cargo.toml declares it, and
# without `jack`, which is optional and off.
rust_library(
    name = "cpal",
    srcs = glob(["src/**/*.rs"]),
    crate = "cpal",
    crate_root = "src/lib.rs",
    edition = "2021",
    visibility = ["PUBLIC"],
    deps = ["//third-party/rust:dasp_sample"] + select({
        # The ALSA host. Mirrors cpal's linux/*bsd target table.
        "DEFAULT": [
            "//third-party/rust:alsa",
            "//third-party/rust:libc",
        ],
        # CoreAudio. The objc2 rows are pinned to the versions cpal asks for
        # rather than the older ones winit drags into the same graph.
        "prelude//os:macos": [
            "//third-party/rust:coreaudio-rs",
            "//third-party/rust:libc",
            "//third-party/rust:mach2",
            "//third-party/rust:objc2",
            "//third-party/rust:objc2-audio-toolbox",
            "//third-party/rust:objc2-core-audio",
            "//third-party/rust:objc2-core-audio-types",
            "//third-party/rust:objc2-core-foundation",
            "//third-party/rust:objc2-foundation",
        ],
    }),
)