-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
[WIP] Support for rust #7260
[WIP] Support for rust #7260
Commits on Feb 19, 2019
-
Robert Steiner committed
Feb 19, 2019 Configuration menu - View commit details
-
Copy full SHA for bbd7b53 - Browse repository at this point
Copy the full SHA bbd7b53View commit details -
Robert Steiner committed
Feb 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 43d243d - Browse repository at this point
Copy the full SHA 43d243dView commit details -
Robert Steiner committed
Feb 19, 2019 Configuration menu - View commit details
-
Copy full SHA for 696ff04 - Browse repository at this point
Copy the full SHA 696ff04View commit details
Commits on Feb 20, 2019
-
add hashlib Python 3 compatibility
Robert Steiner committedFeb 20, 2019 Configuration menu - View commit details
-
Copy full SHA for d8a95b6 - Browse repository at this point
Copy the full SHA d8a95b6View commit details -
replace the call dict() with the dict literal
Robert Steiner committedFeb 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 4e90acf - Browse repository at this point
Copy the full SHA 4e90acfView commit details
Commits on Feb 21, 2019
-
- moved workspace methods to the workspace class
Robert Steiner committedFeb 21, 2019 Configuration menu - View commit details
-
Copy full SHA for b2abae5 - Browse repository at this point
Copy the full SHA b2abae5View commit details -
Robert Steiner committed
Feb 21, 2019 Configuration menu - View commit details
-
Copy full SHA for c5334f3 - Browse repository at this point
Copy the full SHA c5334f3View commit details -
replace concatenating strings with format
Robert Steiner committedFeb 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 8d8fd5c - Browse repository at this point
Copy the full SHA 8d8fd5cView commit details -
change type of make_dirs and make_sym_links
- replaced dict with array
Robert Steiner committedFeb 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 7ca6598 - Browse repository at this point
Copy the full SHA 7ca6598View commit details
Commits on Feb 22, 2019
-
- added tests for build output parsing functions - fixed year in headers - fixed parsing of `rustc-flags` ([can be a set of flags](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script))
Robert Steiner committedFeb 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 04270c8 - Browse repository at this point
Copy the full SHA 04270c8View commit details -
Robert Steiner committed
Feb 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 80f67f7 - Browse repository at this point
Copy the full SHA 80f67f7View commit details
Commits on Feb 25, 2019
-
get member names and paths from manifest
- member names and paths are automatically resolved by interpreting the workspace manifest - the list of member names in the BUILD file is no longer necessary
Robert Steiner committedFeb 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 63ddb59 - Browse repository at this point
Copy the full SHA 63ddb59View commit details -
Robert Steiner committed
Feb 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 8897639 - Browse repository at this point
Copy the full SHA 8897639View commit details -
Robert Steiner committed
Feb 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 7360625 - Browse repository at this point
Copy the full SHA 7360625View commit details -
Robert Steiner committed
Feb 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 5d4a565 - Browse repository at this point
Copy the full SHA 5d4a565View commit details -
replace
requested_goals
withis_required_data
Robert Steiner committedFeb 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 9a76500 - Browse repository at this point
Copy the full SHA 9a76500View commit details
Commits on Feb 26, 2019
-
add classes for binary and library targets
- binary and library targets aren’t enabled yet - refactored target class hierarchy
Robert Steiner committedFeb 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 1fe4c0a - Browse repository at this point
Copy the full SHA 1fe4c0aView commit details
Commits on Feb 27, 2019
-
change the way the toolchain is defined
- the toolchain can be defined in `pants.ini` Example ``` [bootstrap.cargo] toolchain: nightly-2018-12-31 ``` - the value can be a name or a path to a rust-toolchain file - the default value is `nightly-2018-12-31` - removed the toolchain path in the cargo_workspace target
Robert Steiner committedFeb 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 0324050 - Browse repository at this point
Copy the full SHA 0324050View commit details
Commits on Feb 28, 2019
-
Robert Steiner committed
Feb 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 8435281 - Browse repository at this point
Copy the full SHA 8435281View commit details -
enable cargo binary and library targets
- added examples for binary, library and workspace targets
Robert Steiner committedFeb 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 0bf7db2 - Browse repository at this point
Copy the full SHA 0bf7db2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88aa474 - Browse repository at this point
Copy the full SHA 88aa474View commit details
Commits on Mar 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cd02886 - Browse repository at this point
Copy the full SHA cd02886View commit details
Commits on Mar 2, 2019
-
- switched default toolchain to explicit toolchain to have the highest precedence - CI tests failed because the `rust-toolchain` file overwrote the default toolchain - [More information about the toolchain override precedence](https://github.com/rust-lang/rustup.rs#override-precedence)
Robert Steiner committedMar 2, 2019 Configuration menu - View commit details
-
Copy full SHA for df17c8d - Browse repository at this point
Copy the full SHA df17c8dView commit details
Commits on Mar 5, 2019
-
Robert Steiner committed
Mar 5, 2019 Configuration menu - View commit details
-
Copy full SHA for 4455022 - Browse repository at this point
Copy the full SHA 4455022View commit details -
improve the installation of the rust toolchain
- made the fingerprint of the rustup install script configurable via the option `--script_fingerprint` - the rustup install script is only downloaded once and stored in `<versioned_workdir>/rustup_install_script/rustup.sh` - the task tries to find the executable of rustup in the default location `~/.cargo/bin` if the task can’t find the executable via the `PATH` variable
Robert Steiner committedMar 5, 2019 Configuration menu - View commit details
-
Copy full SHA for 9742f84 - Browse repository at this point
Copy the full SHA 9742f84View commit details -
Robert Steiner committed
Mar 5, 2019 Configuration menu - View commit details
-
Copy full SHA for bd3f95c - Browse repository at this point
Copy the full SHA bd3f95cView commit details -
Robert Steiner committed
Mar 5, 2019 Configuration menu - View commit details
-
Copy full SHA for 987f5fb - Browse repository at this point
Copy the full SHA 987f5fbView commit details
Commits on Mar 7, 2019
-
- fixed AttributeError for self.LAST_KNOWN_FINGERPRINT
Robert Steiner committedMar 7, 2019 Configuration menu - View commit details
-
Copy full SHA for 3edea2e - Browse repository at this point
Copy the full SHA 3edea2eView commit details -
add simple support for rerun-if-(env-)changed
To build always valid binaries, the compile task implements a simple solution to support `cargo:rerun-if-env-changed` and `cargo:rerun-if-changed` statements. If a build script target contains a `cargo:rerun-if-env-changed` or `cargo:rerun-if-changed` statement, the compile task marks that target and its dependent targets as invalid. The task itself doesn’t actually check if an environment variable or a file has changed.
Robert Steiner committedMar 7, 2019 Configuration menu - View commit details
-
Copy full SHA for ebf3ce1 - Browse repository at this point
Copy the full SHA ebf3ce1View commit details -
- to have no duplicate paths in make_dirs and make_sym_links
Robert Steiner committedMar 7, 2019 Configuration menu - View commit details
-
Copy full SHA for da3e78f - Browse repository at this point
Copy the full SHA da3e78fView commit details -
fix value of read_file parameter
Robert Steiner committedMar 7, 2019 Configuration menu - View commit details
-
Copy full SHA for e7b5e37 - Browse repository at this point
Copy the full SHA e7b5e37View commit details -
write std_err of a build script into a file
Robert Steiner committedMar 7, 2019 Configuration menu - View commit details
-
Copy full SHA for 70fac18 - Browse repository at this point
Copy the full SHA 70fac18View commit details
Commits on Mar 11, 2019
-
- Cancel the execution of pants if the execution of a subprocess call in the tasks `fetch`, `build` or `bootstrap` fails. - Show `std_out` and `std_err` if the execution of a build script fails. - fixed a bug in program_rule (multiple targets may depend on a build script)
Robert Steiner committedMar 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 4a43cec - Browse repository at this point
Copy the full SHA 4a43cecView commit details
Commits on Mar 13, 2019
-
add support for the remaining cargo lib kinds
- libraries of the kind `rlib`, `dylib`, and `staticlib` are now supported - removed the `CargoSyntheticProcMacro` target - cargo libraries of the kind `proc-marco` are now treated as `CargoSyntheticLibrary` - replaced the workunit outcome with the return code - removed the logging of the workunit outcome - added the env variables of a test invocation to the `rust_test` product (if the `DYLD_LIBRARY_PATH` is missing, the proc-macro test will fail)
Robert Steiner committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 8b3ab28 - Browse repository at this point
Copy the full SHA 8b3ab28View commit details
Commits on Mar 14, 2019
-
Robert Steiner committed
Mar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for d65c523 - Browse repository at this point
Copy the full SHA d65c523View commit details
Commits on Apr 1, 2019
-
add fingerprint strategy and tests
- added build, fetch integration tests - added build, workspace tests - refactored basic, custom build rules to reduce code duplications - added build_flags fingerprint strategy (additional cargo options such as `release` or `test` are now taken into account in the fingerprint) - added additional examples - removed cargo lock files in rust examples - changed dist path of libraries and binaries from `dist/lib`, `dist/bin` to `dist/rust/lib`, `dist/rust/bin` - the way in which the fingerprint of a crate is calculated has been changed to prevent crates from being compiled multiple times
Robert Steiner committedApr 1, 2019 Configuration menu - View commit details
-
Copy full SHA for d63d329 - Browse repository at this point
Copy the full SHA d63d329View commit details
Commits on Apr 4, 2019
-
add ignore-rerun option and code cleanup
Robert Steiner committedApr 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 64c7deb - Browse repository at this point
Copy the full SHA 64c7debView commit details -
Robert Steiner committed
Apr 4, 2019 Configuration menu - View commit details
-
Copy full SHA for ac17c0d - Browse repository at this point
Copy the full SHA ac17c0dView commit details