Compile self-hosted executables in all build modes
All checks were successful
All checks were successful
This commit is contained in:
parent
3eca360dbe
commit
4bb8f8f973
@ -601,11 +601,13 @@ void entry_point(Slice<char* const> arguments, Slice<char* const> envp)
|
||||
|
||||
Slice<String> name_slice = array_to_slice(names);
|
||||
for (auto name: name_slice(0, 1))
|
||||
{
|
||||
for (BuildMode build_mode = BuildMode::debug_none; build_mode < BuildMode::count; build_mode = (BuildMode)((backing_type(BuildMode))build_mode + 1))
|
||||
{
|
||||
for (bool has_debug_info : has_debug_info_array)
|
||||
{
|
||||
// COMPILATION START
|
||||
|
||||
BuildMode build_mode = BuildMode::debug_none;
|
||||
bool has_debug_info = true;
|
||||
String relative_file_path_parts[] = { string_literal("tests/"), name, string_literal(".bbb") };
|
||||
auto relative_file_path = arena_join_string(arena, array_to_slice(relative_file_path_parts));
|
||||
char* const compiler_arguments[] =
|
||||
@ -667,6 +669,8 @@ void entry_point(Slice<char* const> arguments, Slice<char* const> envp)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} break;
|
||||
case Command::count:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user