这是indexloc提供的服务,不要输入任何密码
Skip to content

cargo_project_path is not used for building a crate #7

@d-unsed

Description

@d-unsed

Hi @malept!

It seems that cargo_project_path is not used while running thermite:build/test/clean.

Rakefile:

Thermite::Tasks.new(cargo_project_path: 'ext/the_extension')

Console:

$ bundle exec rake thermite:build
checking for cargo... yes
/usr/local/bin/cargo build --release
error: could not find `Cargo.toml` in `/Users/dmitry/gems/the_gem` or any parent directory
rake aborted!
Command failed with status (101): [/usr/local/bin/cargo build --release...]

So thermite should look into ``/Users/dmitry/gems/the_gem/ext/the_extension` with given configuration instead of project root.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions