Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(doctest): search native libs in build script outputs #13490

Merged
merged 3 commits into from
Feb 26, 2024

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    91f75ac View commit details
    Browse the repository at this point in the history
  2. test(doctest): doctest doesn't set shared libs to search path

    This new test demonstrate the current behavior.
    weihanglo committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    0e8a67f View commit details
    Browse the repository at this point in the history
  3. fix: doctest searches native libs in build script outputs

    HACK: `rustdoc --test` not only compiles but executes doctests.
    Ideally only execution phase should have search paths appended,
    so the executions can find native libs just like other tests.
    However, there is no way to separate these two phase, so this
    hack is added for both phases.
    weihanglo committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    34215b1 View commit details
    Browse the repository at this point in the history