extern_lib
targets from dependencies aren't loaded when compiling lean files
#4565
Closed
3 tasks done
Labels
bug
Something isn't working
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
When making an
extern_lib
that uses symbols from anextern_lib
in a dependency, an error occurs while compiling a lean file.Context
Prior discussion on the Lean Zulip.
Steps to Reproduce
extern_lib
referencing a symbol in a dependency'sextern_lib
MWE
Expected behavior: Build succeeds.
Actual behavior:
Versions
"4.8.0"
"4.10.0-nightly-2024-06-25"
Fedora Linux 6.8.9-300.fc40.x86_64
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: