-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-doctestsArea: rustdoc --testArea: rustdoc --testC-bugCategory: bugCategory: bugE-mediumExperience: MediumExperience: MediumS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Description
Problem
cargo test --doc
doesn't appear to be loading the same shared libraries as cargo test --lib
in 1.45
Steps
- Clone https://github.com/tensorflow/rust
- Set Rust to 1.44
- Note that both
cargo test --doc
andcargo test --lib
pass - Set Rust to 1.45
- Note that
cargo test --lib
passes butcargo test --doc
fails witherror while loading shared libraries: libtensorflow.so.1: cannot open shared object file: No such file or directory
Notes
Output of cargo version
:
cargo 1.44.0 (05d080f 2020-05-06) or cargo 1.45.0 (744bd1f 2020-06-15)
Running on Ubuntu 20.04 LTS.
lerouxrgd, raskr, chrismooredev, jackgerrits, jsloth and 7 more
Metadata
Metadata
Assignees
Labels
A-doctestsArea: rustdoc --testArea: rustdoc --testC-bugCategory: bugCategory: bugE-mediumExperience: MediumExperience: MediumS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Type
Projects
Status
Done
Status
Nominated