Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Cannot run main_binary from a different directory #95

Closed

Description

@epage

Say you want to change the cwd to a tempdir. When main_binary calls cargo run, it won't be able to find the Cargo.toml file.

Activity

  1. epage commented on Mar 23, 2018

    @epage
    CollaboratorAuthor

    To fix this, we'll need to have main_binary look up from cwd the Cargo.toml and pass it to cargo run --manifest-path.

  2. added a commit that references this issue on May 25, 2018
    d892f96
  3. epage commented on May 29, 2018

    @epage
    CollaboratorAuthor

    Addressed in assert_cmd
    https://github.com/assert-rs/assert_cmd
    assert_cli is going to morph into a wider-focused tool, including things like assert_fs. See #41

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions