formats/v1: remove implicit assembler export

When building a version 1 manifest, the assembler would always be
exported, even when not requested via the `--export` command line
option. This was done for backwards compatibility so to not break
tools relying on that behavior. The problem is that support for
this uses a completely different code path and might also now be
confusing behavior. Thus remove the implicit and really only ever
export what was explicitly requested by the caller.
This commit is contained in:
Christian Kellner 2021-10-23 20:24:36 +02:00 committed by Tom Gundersen
parent 17136a70e4
commit 8770bdf10a
5 changed files with 8 additions and 20 deletions

View file

@ -73,7 +73,6 @@ def load_assembler(description: Dict, index: Index, manifest: Manifest):
# Add a pipeline with one stage for our assembler
pipeline = manifest.add_pipeline("assembler", runner, build)
pipeline.export = True
info = index.get_module_info("Assembler", name)