Tags: facebook/starlark-rust
Tags
Update the Starlark changelog Summary: There are 650 commits, and I don't think anyone has time to produce a great changelog. Kinda sucks, but better a release than not, so hey ho. Reviewed By: IanChilds Differential Revision: D67192294 fbshipit-source-id: 13f5220713ed2e763919a0335b42f84c5d85d7ea
bump allocative version for hashbrown 0.12.3 -> 0.14.3 Summary: Already released new allocative version to crates.io, also updating internally. We can keep the starlark-rust 0.12.3 version since I updated allocative before updating starlark in crates.io locally. I had to bump the version for allocative as well to get the hashbrown fix into the release. Will make a new github release for starlark-rust when I land this. Reviewed By: ndmitchell Differential Revision: D53614009 fbshipit-source-id: 718d96bbd1a46e8af5a7b2a592cf518ab9db9e5d
Bump to 0.3.1 Summary: Required to make the Starlark release. I've already released 0.3.1 to crates.io, so follow up by changing internally. Reviewed By: lmvasquezg Differential Revision: D50364045 fbshipit-source-id: bbe86fc136cd2beff14316ddaa642e60215a09b3
Prepare a new Starlark release Summary: As requested in #29 (comment). The changelog represents 538 commits since the last release, so took a while to write! Reviewed By: krallin Differential Revision: D32592072 fbshipit-source-id: 63cd0d048c812ee41872843aa495cee6db786471
Store module private variables in module, not in locals
Summary:
When loaded symbols are no longer reexported (D30534539), module private symbols (e. g. loaded symbols) are stored in local stack.
This diff changes privates to store them in module itself (like with public module variables).
The reasons for this diff:
* eventually replace `ValueRef` with explicit cell objects
* to implement loaded constants propagation
This diff it useful as is because it improves error message on trying to import private symbols. For example, for this code:
```
# a.bzl
x = 1
# b.bzl
load("a.bzl", "x")
# c.bzl
load("b.bzl", "x")
```
Previously error message was `Variable 'x' not found`, now error message is `Module symbol 'x' is not exported`.
Reviewed By: ndmitchell
Differential Revision: D30561707
fbshipit-source-id: 309948560569f48f00e520424edaf1a197c0ff70
PreviousNext