feat(storm): reorganized error library, assertions are now more detailed across different platforms; added new macros STORM_VALIDATE_STRING and STORM_PANIC

This commit is contained in:
phaneron 2024-08-30 18:04:21 -04:00
parent d149081f4e
commit 4f32840fdf
13 changed files with 164 additions and 103 deletions

View file

@ -77,12 +77,14 @@ pub fn build(b: *std.Build) void {
};
const storm_macos_sources = [_][]const u8{
"storm/error/unix/Display.cpp",
"storm/thread/mac/S_Thread.mm",
"storm/thread/mac/SThreadRunner.mm",
"storm/thread/mac/Thread.mm"
};
const storm_linux_sources = [_][]const u8{
"storm/error/unix/Display.cpp",
"storm/thread/linux/S_Thread.cpp",
"storm/thread/linux/Thread.cpp"
};