diff options
author | brandjon <brandjon@google.com> | 2017-09-14 15:07:07 +0200 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2017-09-14 18:48:14 +0200 |
commit | 28d3d2a96e95b2e26e6f864a52177864b0fa8e01 (patch) | |
tree | 9ce3e7df63933c488e32418673d05c4c8deb6ebc /site | |
parent | a6772634ee5fd821e5cf7c930b224a46e2c0c482 (diff) |
Add post-submit changes for https://github.com/bazelbuild/bazel/commit/aa1a4f2c3dfdb40bd0f4349cf313354a7543a5a8
RELNOTES: None
PiperOrigin-RevId: 168677112
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/skylark/backward-compatibility.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/site/docs/skylark/backward-compatibility.md b/site/docs/skylark/backward-compatibility.md index 52237e65c3..6ae198835c 100644 --- a/site/docs/skylark/backward-compatibility.md +++ b/site/docs/skylark/backward-compatibility.md @@ -236,8 +236,8 @@ If you really want to override a value, use a separate statement: ## New actions API This change removes the old methods for registering actions within rules, and -requires that you use the new methods instead (which are available regardless). -The deprecated methods and their replacements are as follows. +requires that you use the new methods instead. The deprecated methods and their +replacements are as follows. * `ctx.new_file(...)` --> `ctx.actions.declare_file(...)` * `ctx.experimental_new_directory(...)` --> @@ -265,9 +265,10 @@ All integers are stored using signed 32 bits. ## Descriptive string representations -For certain types of objects, this changes the string representations returned -by `str()` and `repr()` to be more uniform and safe. In particular, the new -representations are hermetic and deterministic. +For certain types of objects (such as `Label`, `File`, and rule contexts), this +flag changes the string representations returned by `str()` and `repr()` to be +more uniform and safe. In particular, the new representations are hermetic and +deterministic. * Flag: `--incompatible_descriptive_string_representations` * Default: `true` |