mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Const Aggregate Literals for IR; Module path fix
This commit is contained in:
@@ -2919,10 +2919,7 @@ String get_fullpath_relative(gbAllocator a, String base_dir, String path) {
|
||||
}
|
||||
|
||||
String get_fullpath_core(gbAllocator a, String path) {
|
||||
String module_dir = get_module_dir(gb_heap_allocator());
|
||||
defer (if (module_dir.len > 0) {
|
||||
gb_free(gb_heap_allocator(), module_dir.text);
|
||||
});
|
||||
String module_dir = get_module_dir();
|
||||
|
||||
char core[] = "core/";
|
||||
isize core_len = gb_size_of(core)-1;
|
||||
|
||||
Reference in New Issue
Block a user