Skip to content

Commit

Permalink
Include cargo_build_script in the policy
Browse files Browse the repository at this point in the history
  • Loading branch information
hlopko committed Jul 15, 2021
1 parent 9efc561 commit ad6c4ee
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ that anything directly accessible from this file is considered stable.
`//rust/private/…` is not subject to the backwards compatibility policy. Content
of this package is an implementation detail.

`//cargo`, `//util`, `//tools`, `//test`, `//examples`, `//bindgen`, `//proto`, `//wasm_bindgen`
and any packages not mentioned by this document are by default not subject to
the backwards compatibility policy.
`//cargo:cargo_build_script.bzl` is subject to the backwards compatibility policy.

`//cargo`, `//util`, `//tools`, `//test`, `//examples`, `//bindgen`, `//proto`,
`//wasm_bindgen` and any packages not mentioned by this document are by default
not subject to the backwards compatibility policy.

Experimental build settings are not subject to the backward compatibility
policy. They should be added to `//rust:experimental.bzl`.
Expand All @@ -85,7 +87,9 @@ They should be added to `//rust:incompatible.bzl`.

Bug fixes are not a breaking change by default. We'll use Common Sense (and we
will pull in more maintainers and the community to discuss) if we see a certain
bug fix is controversial.
bug fix is controversial. Incompatible changes to
`//cargo:cargo_build_script.bzl` that make `cargo_build_script` more accurately
follow cargo's behaviour are considered bug fixes.

## How to make a backwards incompatible change?

Expand Down

0 comments on commit ad6c4ee

Please sign in to comment.