mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix regression where files were added more than once. #2442
This commit is contained in:
@@ -87,6 +87,7 @@
|
|||||||
- `@test`/`@benchmark` on module would attach to interface and regular methods.
|
- `@test`/`@benchmark` on module would attach to interface and regular methods.
|
||||||
- Deprecated `@select` in favor of `???`.
|
- Deprecated `@select` in favor of `???`.
|
||||||
- Enum inference, like `Foo x = $eval("A")`, now works correctly for `$eval`.
|
- Enum inference, like `Foo x = $eval("A")`, now works correctly for `$eval`.
|
||||||
|
- Fix regression where files were added more than once. #2442
|
||||||
|
|
||||||
### Stdlib changes
|
### Stdlib changes
|
||||||
- Add `==` to `Pair`, `Triple` and TzDateTime. Add print to `Pair` and `Triple`.
|
- Add `==` to `Pair`, `Triple` and TzDateTime. Add print to `Pair` and `Triple`.
|
||||||
|
|||||||
@@ -622,7 +622,7 @@ static void update_build_target_from_options(BuildTarget *target, BuildOptions *
|
|||||||
void init_default_build_target(BuildTarget *target, BuildOptions *options)
|
void init_default_build_target(BuildTarget *target, BuildOptions *options)
|
||||||
{
|
{
|
||||||
*target = default_build_target;
|
*target = default_build_target;
|
||||||
target->source_dirs = options->files;
|
target->source_dirs = NULL;
|
||||||
target->name = options->output_name;
|
target->name = options->output_name;
|
||||||
target->output_name = options->output_name;
|
target->output_name = options->output_name;
|
||||||
update_build_target_from_options(target, options);
|
update_build_target_from_options(target, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user