Skip to content

Commit

Permalink
Clarify run_exports/weak (#5214)
Browse files Browse the repository at this point in the history
Co-authored-by: Bianca Henderson <bhenderson@anaconda.com>
  • Loading branch information
ytausch and beeankha authored Mar 19, 2024
1 parent 1bfee9f commit c01f352
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/resources/define-metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ implicitly added by host requirements (e.g. libpng exports libpng), and with
- libpng
Here, because no specific kind of ``run_exports`` is specified, libpng's ``run_exports``
are considered "weak." This means they will only apply when libpng is in the
are considered "weak". This means they will only apply when libpng is in the
host section, when they will add their export to the run section. If libpng were
listed in the build section, the ``run_exports`` would not apply to the run section.

Expand All @@ -746,6 +746,9 @@ listed in the build section, the ``run_exports`` would not apply to the run sect
strong:
- libgcc
There is also ``run_exports/weak`` which is equivalent to an unspecific kind of
``run_exports`` but useful if you want to define both strong and weak run exports.

Strong ``run_exports`` are used for things like runtimes, where the same runtime
needs to be present in the host and the run environment, and exactly which
runtime that should be is determined by what's present in the build section.
Expand Down

0 comments on commit c01f352

Please sign in to comment.