-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
rustc subcommand #1568
rustc subcommand #1568
Commits on May 1, 2015
-
- `cargo rustc` is starting out based on `cargo build`
Sondre Lefsaker committedMay 1, 2015 Configuration menu - View commit details
-
Copy full SHA for 754938f - Browse repository at this point
Copy the full SHA 754938fView commit details -
Add a new field to CompileOptions and BuildConfig:
target_rustc_args
- The new field is a list with arguments to compile the target with. - There should only be one target that gets compiled with these arguments
Sondre Lefsaker committedMay 1, 2015 Configuration menu - View commit details
-
Copy full SHA for 77bb01e - Browse repository at this point
Copy the full SHA 77bb01eView commit details -
Pass the
arg_opts
from the command line further on to the CompileOp……tions. - The new tests verifies that the extra arguments gets appended to the command. One is for lib and one is for main - Currently the arguments gets passed on to *every* target that gets built, so the tests only contain one file each
Sondre Lefsaker committedMay 1, 2015 Configuration menu - View commit details
-
Copy full SHA for b177d2a - Browse repository at this point
Copy the full SHA b177d2aView commit details
Commits on May 2, 2015
-
Remove the
pkgid
arg and replace theprofile
flag withpackage
.Sondre Lefsaker committedMay 2, 2015 Configuration menu - View commit details
-
Copy full SHA for 512b217 - Browse repository at this point
Copy the full SHA 512b217View commit details -
Add new field
rustc_args
to theProfile
- This field will be set by the `cargo rustc` command, only if one target is being compiled - The field can not be read from the Cargo.toml
Sondre Lefsaker committedMay 2, 2015 Configuration menu - View commit details
-
Copy full SHA for 53453c8 - Browse repository at this point
Copy the full SHA 53453c8View commit details -
Remove the arguments from
BuildConfig
and append them to the profil……e that's being compiled instead. - An error will be returned if the length of `targets` is not 1 - The profile of `targets` gets cloned in order to append the extra arguments. - The new test verifies that the build fails due to both `lib` and `main` being compiled
Sondre Lefsaker committedMay 2, 2015 Configuration menu - View commit details
-
Copy full SHA for 582e9d9 - Browse repository at this point
Copy the full SHA 582e9d9View commit details -
Modify test to build
main
like before, butlib
also gets built as…… a dependency. - The test verifies that the trailing arguments only gets passed to the binary being built
Sondre Lefsaker committedMay 2, 2015 Configuration menu - View commit details
-
Copy full SHA for d8cd6f0 - Browse repository at this point
Copy the full SHA d8cd6f0View commit details -
Cleanup tests - favor more explicit expected result instead of using …
…helper functions
Sondre Lefsaker committedMay 2, 2015 Configuration menu - View commit details
-
Copy full SHA for bd4d15f - Browse repository at this point
Copy the full SHA bd4d15fView commit details -
- `build_with_args_to_one_of_multiple_binaries`, verify that only one bin gets built - `fails_with_args_to_all_binaries` - `build_with_args_to_one_of_multiple_tests`, same behavious as for the binaries - `build_foo_with_bar_dependency`, verify that bar dependency gets built and only foo gets compiled with args - `build_only_bar_dependency`, build the bar package, that foo depends, on with the extra args
Sondre Lefsaker committedMay 2, 2015 Configuration menu - View commit details
-
Copy full SHA for c867813 - Browse repository at this point
Copy the full SHA c867813View commit details
Commits on May 6, 2015
-
Update subcommand documentation
Sondre Lefsaker committedMay 6, 2015 Configuration menu - View commit details
-
Copy full SHA for dc33bfa - Browse repository at this point
Copy the full SHA dc33bfaView commit details -
- Dereference arguments before matching - use square brackets for vec! macro
Sondre Lefsaker committedMay 6, 2015 Configuration menu - View commit details
-
Copy full SHA for 98c0e2d - Browse repository at this point
Copy the full SHA 98c0e2dView commit details -
Suggest adding flags to filter the package in the error message
Sondre Lefsaker committedMay 6, 2015 Configuration menu - View commit details
-
Copy full SHA for 2cd3c86 - Browse repository at this point
Copy the full SHA 2cd3c86View commit details