Skip to content

Cargo's test suite no longer works correctly #893

Open

Description

@brson

Dynamic linking issues around PATH of course: rust-lang/cargo#3394

Activity

  1. retep998 commented on Feb 2, 2017

    @retep998
    Contributor

    Rustup no longer adds the toolchain's bin folder to the path when running the toolchain binaries. Plugins dynamically link the standard library and as a result must be able to find the dlls from the toolchain's bin folder. When running tests on a plugin, the plugin test binary still depends on those dlls, but is running standalone, and because the dlls are no longer in PATH, the test binary fails to find the dlls and crashes.

    This is a pretty major blocker for anyone trying to test plugins. Rocket is one such project affected by this. This also prevents anyone from using -Cprefer-dynamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions