Skip to content

Remove the deprecated build command infrastructure#1195

Merged
bors merged 2 commits intorust-lang:masterfrom
alexcrichton:no-more-build-command
Jan 20, 2015
Merged

Remove the deprecated build command infrastructure#1195
bors merged 2 commits intorust-lang:masterfrom
alexcrichton:no-more-build-command

Conversation

@alexcrichton
Copy link
Member

Along the way this also fixes a few bugs with build scripts with respect to dynamic native libraries which are linked into build scripts themselves.

This aspect of the manifest has been deprecated for quite some time now, and
this commit purges the support entirely.
Whenever a build script or a plugin depends on a native dynamic library, the
dylib search path will be required to include the path to the generated dynamic
library. Currently Cargo does not augment the search path, causing load errors
or execution errors whenever builds are attempted in this case.

This commit remedies the situation by ensuring that dynamic libraries show up in
dylib search paths. This commit is necessary to fully migrate the remaining
tests from the old build command infrastructure to build scripts.
@rust-highfive
Copy link

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@huonw
Copy link
Contributor

huonw commented Jan 20, 2015

@bors: r+ 50e00c9

@bors
Copy link
Contributor

bors commented Jan 20, 2015

⌛ Testing commit 50e00c9 with merge e30748b...

@bors
Copy link
Contributor

bors commented Jan 20, 2015

💔 Test failed - cargo-win-32

@alexcrichton
Copy link
Member Author

@bors: retry

bors added a commit that referenced this pull request Jan 20, 2015
Along the way this also fixes a few bugs with build scripts with respect to dynamic native libraries which are linked into build scripts themselves.
@bors
Copy link
Contributor

bors commented Jan 20, 2015

⌛ Testing commit 50e00c9 with merge f1ca1ee...

@bors
Copy link
Contributor

bors commented Jan 20, 2015

☀️ Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32, cargo-win-64

@bors bors merged commit 50e00c9 into rust-lang:master Jan 20, 2015
@alexcrichton alexcrichton deleted the no-more-build-command branch January 20, 2015 06:42
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