mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 21:35:19 +00:00
Fix object name generation
This commit is contained in:
@@ -2591,8 +2591,7 @@ gb_internal String lb_filepath_obj_for_module(lbModule *m) {
|
||||
path = gb_string_appendc(path, "/");
|
||||
path = gb_string_append_length(path, name.text, name.len);
|
||||
|
||||
{
|
||||
|
||||
if (USE_SEPARATE_MODULES) {
|
||||
GB_ASSERT(m->module_name != nullptr);
|
||||
String s = make_string_c(m->module_name);
|
||||
String prefix = str_lit("odin_package");
|
||||
@@ -2646,6 +2645,8 @@ gb_internal String lb_filepath_obj_for_module(lbModule *m) {
|
||||
|
||||
path = gb_string_append_length(path, ext.text, ext.len);
|
||||
|
||||
gb_printf_err("%s\n", path);
|
||||
|
||||
return make_string(cast(u8 *)path, gb_string_length(path));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user