Fix test_bench.odin

This commit is contained in:
gingerBill
2026-06-29 16:00:56 +01:00
parent 9c923fe0e1
commit e4870dc905

View File

@@ -854,13 +854,11 @@ main :: proc() {
opt: Options
flags.parse_or_exit(&opt, os.args)
logger_data := log.File_Console_Logger_Data{
file_handle = os.INVALID_HANDLE,
ident = "",
}
context.logger = log.Logger{log.file_console_logger_proc, &logger_data, .Debug, {
file_logger := log.create_file_logger(f=nil, lowest=.Debug, opt={
.Level, .Terminal_Color, .Line, .Procedure,
}}
})
defer log.destroy_file_logger(file_logger)
context.logger = file_logger
if !runtime.ODIN_VIRTUAL_MEMORY_SUPPORTED {
log.info("Virtual memory is not supported on this platform.")