Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for latest rust nightly. #10

Merged
merged 2 commits into from
Feb 11, 2014
Merged

Update for latest rust nightly. #10

merged 2 commits into from
Feb 11, 2014

Conversation

KokaKiwi
Copy link
Contributor

As rustc now replaced "--rlib" to "--crate-type=rlib" and output dir changed to "current dir", I made some changes in cargo-lite executable.

@@ -141,7 +141,8 @@ def build(args, conf):
b = conf['build']
if 'crate_root' in b:
crate_root = os.path.abspath(b['crate_root'])
output = rustc("--crate-file-name", "--rlib", "--staticlib", "--dylib", crate_root, _iter=True)
out_dir = os.path.dirname(crate_root)
output = rustc("--crate-file-name", "--crate-type=rlib", "--crate-type=staticlib", "--crate-type=dylib", crate_root, _iter=True)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can, and should, be --crate-type=rlib,staticlib,dylib

emberian added a commit that referenced this pull request Feb 11, 2014
Update for latest rust nightly.
@emberian emberian merged commit 8513418 into emberian:master Feb 11, 2014
@KokaKiwi KokaKiwi deleted the rust-dev branch February 11, 2014 00:18
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.

2 participants