Closed
Description
Steps to reproduce:
mkdir -p $HOME/workspace/src
cd $HOME/workspace/src
declare -x RUST_PATH=$HOME/workspace
git clone github.com/bjz/gl-rs
- Edit
github.com/bjz/gl-rs/src/gen/registry.rs
to replaceextern mod sax;
withextern mod sax = "github.com/bjz/sax-rs";
cd ..
rustpkg install gl-rs/src/gen
You will see:
task '<unnamed>' failed at 'assertion failed: pkg_src.start_dir.join(p).exists()', /Users/tjc/rust/src/librustpkg/lib.rs:520
task '<unnamed>' failed at 'receiving on closed channel', /Users/tjc/rust/src/libstd/rt/comm.rs:198
The problem is that rustpkg is assuming there is a gl-rs/main.rs
file, when actually the crate file is gl-rs/src/gen/main.rs
. The package ID tells us everything we need to know here, but rustpkg is ignoring that.
cc @bjz
Metadata
Metadata
Assignees
Labels
No labels