build: some docs

pull/8840/head
Mitchell Hashimoto 2025-09-22 09:53:18 -07:00
parent 8477b6a21a
commit c177716ac6
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
2 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,7 @@ pub fn init(b: *std.Build) !Config {
config.simd = b.option(
bool,
"simd",
"Build with SIMD-accelerated code paths. This requires additional build dependencies and adds libc as a runtime dependency, but results in significant performance improvements.",
"Build with SIMD-accelerated code paths. Results in significant performance improvements.",
) orelse true;
config.wayland = b.option(

View File

@ -650,6 +650,8 @@ fn addGtkNg(
}
}
/// Add only the dependencies required for `Config.simd` enbled. This also
/// adds all the simd source files for compilation.
pub fn addSimd(
b: *std.Build,
m: *std.Build.Module,