Skip to content

Commit 55bcc4c

Browse files
committed
libmanage.py: remove --no-ada-api
The actual feature behind this flag has been removed for a long time (the generic introspection API, always generated, depends on the public Ada API), so remove the last bits.
1 parent ae4ffd3 commit 55bcc4c

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

langkit/libmanage.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,6 @@ def add_common_args(subparser: argparse.ArgumentParser) -> None:
372372
'--trace', '-t', action='append', default=[],
373373
help='Activate given debug trace.'
374374
)
375-
subparser.add_argument(
376-
'--no-ada-api', action='store_true',
377-
help='Do not generate units to provide an Ada API, and disable the'
378-
' generation of mains.'
379-
)
380375

381376
# Don't enable this by default so that errors will not make automated
382377
# tasks hang.

testsuite/python_support/utils.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,6 @@ def manage_run(generate_only, types_from_lkt, additional_args):
325325
if full_error_traces:
326326
argv.append("--full-error-traces")
327327

328-
# Generate the public Ada API only when necessary (i.e. if we have
329-
# mains that do use this API). This reduces the time it takes to run
330-
# tests.
331-
if not mains and not ada_main:
332-
argv.append('--no-ada-api')
333-
334328
# If there is a Java main, enable the Java bindings building
335329
if java_main is not None or ni_main is not None:
336330
argv.append('--enable-java')

0 commit comments

Comments
 (0)