Compile assembly files

This commit is contained in:
Frank Denis
2021-11-10 15:40:20 +01:00
parent 620d4529b6
commit 826b7d2a10
+3
View File
@@ -67,6 +67,9 @@ pub fn build(b: *std.build.Builder) !void {
"-fwrapv",
"-flax-vector-conversions",
});
} else if (mem.endsWith(u8, name, ".S")) {
const full_path = try fmt.allocPrint(allocator, "{s}/{s}", .{ base, entry.path });
libsodium.addAssemblyFile(full_path);
}
}
}