Skip to content

Conversation

@jhasse
Copy link
Contributor

@jhasse jhasse commented Dec 12, 2013

rustpkg assumes library files to be in a directory called lib, but on Windows they are instead in the bin directory. This patch changes nothing on Unix system, since libdir() returns "lib" there.

@pnkfelix
Copy link
Contributor

�Request for clarification, since I am not familiar with Windows: is it that on Windows they are also in the bin directory, as stated (and thus one would need to search both lib and bin), or is it that on Windows they are instead in the bin directory?

From skimming the patch it seems like it means the latter, not the former...

@jhasse
Copy link
Contributor Author

jhasse commented Dec 12, 2013

Yes you're right, they are instead in the bin directory. I've edited the pull request comment.

I was thinking about the binaries when writing the original comment: Binaries are in the bin directory and libraries also.

bors added a commit that referenced this pull request Dec 14, 2013
rustpkg assumes library files to be in a directory called `lib`, but on Windows they are instead in the `bin` directory. This patch changes nothing on Unix system, since `libdir()` returns `"lib"` there.
@bors bors closed this Dec 14, 2013
@bors bors merged commit 85d33a0 into rust-lang:master Dec 14, 2013
@jhasse jhasse deleted the patch-rustpkg branch December 14, 2013 16:26
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 31, 2023
[`slow_vector_initialization`]: catch `Vec::new()` followed by `.resize(len, 0)`

Closes rust-lang#10938

changelog: [`slow_vector_initialization`]: catch `Vec::new()` followed by `.resize(len, 0)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants