mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +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
|
||||
- Issue not correctly aborting compilation on recursive generics.
|
||||
- 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
|
||||
- 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();
|
||||
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);
|
||||
FOREACH(const char *, arg, compiler.build.args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user