diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-02-07 22:27:05 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-02-07 22:34:49 +0100 |
| commit | c849d9bff18152e83d6e62aa11de2f14fe974488 (patch) | |
| tree | 9dd88a8115f2b097b666848b2b4c8647dbc55bc8 /test/tasks_test.cc | |
| parent | 668158a83bc9e5af7bf65fe88d22d1958e33443f (diff) | |
Use REG function for configuration, like with build_configurations, to get rid of the hacky weak symbol method.no_more_weak
Diffstat (limited to 'test/tasks_test.cc')
| -rw-r--r-- | test/tasks_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tasks_test.cc b/test/tasks_test.cc index 32bed5a..c8e4cf8 100644 --- a/test/tasks_test.cc +++ b/test/tasks_test.cc @@ -38,14 +38,14 @@ namespace test_global { ctor::toolchain toolchain{}; ctor::arch arch{}; } -const ctor::configuration& ctor::get_configuration() +const ctor::configuration& test_configuration() { static ctor::configuration cfg{}; cfg.build_toolchain = test_global::toolchain; cfg.build_arch = test_global::arch; return cfg; } - +REG(test_configuration); REG(ctorTestConfigs1); REG(ctorTestConfigs2); |
