audio: make buildSoundIo private and point package to ./main.zig #379
No reviewers
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach!379
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -4,16 +4,8 @@ const Builder = std.build.Builder;const soundio_path = thisDir() ++ "/upstream/soundio";I don't know if
mach-audiois better, butglfwandfreetypeare notmach-glfwormach-freetypeso it seems clear to me this should just beaudiofor consistency sake. Open to changing them all though!I do think we should still take an options struct in this function parameter, just so we can add any options necessary in the future without breaking user's current use of
audio.link(...). It should just be an emptyOptionsstruct for now, though.@ -17,3 +8,4 @@.source = .{ .path = thisDir() ++ "/main.zig" },};pub fn build(b: *Builder) void {I would be OK with keeping this struct around, just making it private - if you think that's better. I think this way is fine though.
@ -17,3 +8,4 @@.source = .{ .path = thisDir() ++ "/main.zig" },};pub fn build(b: *Builder) void {ok but i think if we take it as parmater in
link()then we shouldn't make it private