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-08 17:25:52 +0100 |
| commit | 627843d2517a5cc8885939d6396fb052cd873aa7 (patch) | |
| tree | b667b48327f127dd29ca160588ee5630d2ca4518 /test/tools_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/tools_test.cc')
| -rw-r--r-- | test/tools_test.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/tools_test.cc b/test/tools_test.cc index 5ae04c3..cfbcbce 100644 --- a/test/tools_test.cc +++ b/test/tools_test.cc @@ -114,29 +114,6 @@ bool operator!=(const ctor::asm_flag& a, const ctor::asm_flag& b) #include <uunit.h> -const ctor::configuration& ctor::get_configuration() -{ - static ctor::configuration cfg; - return cfg; -} - -std::string ctor::configuration::get(const std::string& key, [[maybe_unused]]const std::string& default_value) const -{ - if(key == ctor::cfg::host_cxx) - { - return {}; - } - - if(key == ctor::cfg::build_cxx) - { - return {}; - } - - assert(false); // bad key - - return {}; -} - class ToolsTest : public uUnit { |
