// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® import std; // A function of libedit, called only on a path that never runs, so that the // link records the library. extern "C" void* history_init(); int main(int argc, char**) { if (argc > 100) history_init(); std::println("linked against libedit"); return 0; }