mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Assert when the binary doesn't get created and --run-once is used. #2502
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
- Incorrect nameof on nested struct names. #2492
|
- Incorrect nameof on nested struct names. #2492
|
||||||
- Issue not correctly aborting compilation on recursive generics.
|
- Issue not correctly aborting compilation on recursive generics.
|
||||||
- Crash during codegen when taking the typeid of an empty enum with associated values.
|
- Crash during codegen when taking the typeid of an empty enum with associated values.
|
||||||
|
- Assert when the binary doesn't get created and --run-once is used. #2502
|
||||||
|
|
||||||
### Stdlib changes
|
### Stdlib changes
|
||||||
- Added generic `InterfaceList` to store a list of values that implement a specific interface
|
- Added generic `InterfaceList` to store a list of values that implement a specific interface
|
||||||
|
|||||||
@@ -791,6 +791,10 @@ void compiler_compile(void)
|
|||||||
}
|
}
|
||||||
name = scratch_buffer_to_string();
|
name = scratch_buffer_to_string();
|
||||||
const char *full_path = realpath(scratch_buffer_to_string(), NULL);
|
const char *full_path = realpath(scratch_buffer_to_string(), NULL);
|
||||||
|
if (!full_path)
|
||||||
|
{
|
||||||
|
error_exit("The binary '%s' was unexpectedly not found.", scratch_buffer_to_string());
|
||||||
|
}
|
||||||
OUTF("Launching %s", name);
|
OUTF("Launching %s", name);
|
||||||
FOREACH(const char *, arg, compiler.build.args)
|
FOREACH(const char *, arg, compiler.build.args)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user