Releases: bazelbuild/rules_rust
Releases · bazelbuild/rules_rust
0.2.1
0.2.1
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "b58c63a6d8221f408f8852b4f74f81bc8c7aac9273f3899a74e32e6168a2c624",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.2.1/rules_rust-v0.2.1.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Updated repository pin in the docs by @UebelAndre in #1240
- Fixed proto package in release artifact by @djmarcin in #1241
- Updating
rules_rust
version to0.2.1
by @UebelAndre in #1243
Full Changelog: 0.2.0...0.2.1
0.2.0
0.2.0
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "39655ab175e3c6b979f362f55f58085528f1647957b0e9b3a07f81d8a9c3ea0a",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.2.0/rules_rust-v0.2.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Build
_import_macro_dep
inexec
mode by @scentini in #1203 - Don't leak deps from rust_proc_macro by @scentini in #1206
- Updated crate_universe setup guide by @UebelAndre in #1202
- cache the release archive in release actions by @UebelAndre in #1201
- Delete deprecated
rules
targets by @UebelAndre in #1210 - Updated crate_universe docs. by @UebelAndre in #1212
- Updated docs to guide users to using releases by @UebelAndre in #1213
- Restrucutred
crate_universe
dependency macros by @UebelAndre in #1208 - Add NUM_JOBS env var to cargo build scripts by @illicitonion in #1216
- fix
stamp = 0
in rust_binary_without_process_wrapper by @krasimirgg in #1218 - Renamed
crate_index
repository tocrate_universe_crate_index
by @UebelAndre in #1217 - don't emit --codegen={metadata,extra-filename} for rust_static_library and rust_shared_library by @krasimirgg in #1222
- add bots using lld (and examples with clang as a drive by) by @krasimirgg in #1221
- Fixed
crate_universe
clippy defects by @UebelAndre in #1228 - Fix some unit tests to run from another workspace by @siddharthab in #1226
- Enabled
rust_doc_test
forcrate_universe
by @UebelAndre in #1232 - fix: distribute
//tools/rust_analyzer
by @UebelAndre in #1234 - Fixed
crates_repository
deleting.cargo/config.toml
files. by @UebelAndre in #1227 - Replace
rust_repositories
withrust_register_toolchains
in docs by @UebelAndre in #1237 - Updated
crate_universe
version to0.2.0
by @UebelAndre in #1239 - Updating
rules_rust
version to0.2.0
by @UebelAndre in #1235
New Contributors
- @siddharthab made their first contribution in #1226
Full Changelog: 0.1.0...0.2.0
0.1.0
0.1.0
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "7453856d239a004c9e29cde2e45903a068446e4a69501ee7393faf08e1a30403",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.1.0/rules_rust-v0.1.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Set the target triplet when invoking rustc by @damienmg in #136
- Implement directory based runfiles lookup [#130] by @mfarrugi in #132
- Update rust to 1.27.2 by @mfarrugi in #138
- Add --remap-path-prefix=$PWD to make dbg builds more reproducible. by @mfarrugi in #139
- Look for ${crate_name}.rs as a crate_root by default. by @mfarrugi in #137
- Migrate rules_rust to the new Starlark C++ toolchain API by @hlopko in #133
- Do not crash on using version check with development version of bazel. by @hlopko in #145
- Fix version check in rustc.bzl by @hlopko in #146
- Add builtin rust platform decls with examples by @acmcarther in #144
- Update bazel_toolchains pin. by @xingao267 in #147
- Replace usages of
ctx.action
withctx.actions.{run, run_shell}
by @mfarrugi in #151 - STATIC_RUST_URL sets the static.rust-lang.org URL by @damienmg in #143
- Test rustc flag and feature flags by @damienmg in #153
- fix: corner case in crate dependencies by @damienmg in #154
- Update known_shas to recent versions by @damienmg in #156
- Protobuf support by @damienmg in #92
- Fix rust_doc_test with transitive dependencies and add tests for it by @damienmg in #155
- doc: change reference to proto_compile into proto_library by @damienmg in #158
- Pass -p to mkdir to make sure we do not fails if bazel already created the output directory by @damienmg in #159
- Cleanups for compatibility with future Bazel releases by @laurentlb in #162
- Use http_archive for protobuf repository by @damienmg in #163
- Protobuf support: support proto_source_root attribute by @damienmg in #164
- Update bazel-toolchains pin by @hlopko in #165
- Update dependencies, fix a few incompatible issues by @laurentlb in #166
- More bazel --incompatible fixes (#161) by @mfarrugi in #169
- Add edition support to rules and toolchain. (#157) by @mfarrugi in #168
- Update links to crates in documentation by @mjduijn in #175
- Proto: documentation to change dependencies by @damienmg in #173
- Get stardoc working and update docs. #140 by @mfarrugi in #174
- Fix register toolchains example code by @mjduijn in #177
- Small README grammar fixes by @johnedmonds in #181
- Update dependency by @laurentlb in #182
- Change dash to underscore in generated filenames by @mjduijn in #178
- Establish
CARGO_MANIFEST_DIR
by @GregBowyer in #180 - Fix setup snippet in the README (#167) by @mfarrugi in #184
- Create CODEOWNERS by @dslomov in #187
- Take 'default_edition' as an optional parameter of BUILD_for_rust_toolchain. by @mfarrugi in #188
- add rule for bindgen (#102) by @mfarrugi in #108
- Fix the label for Clang's BUILD file by @kornholi in #191
- Pass in correct include directories to bindgen by @kornholi in #192
- Test the examples on Bazel's CI by @philwo in #193
- Update bazel-toolchains version by @hlopko in #194
- Update version of stardoc by @damienmg in #196
- Configure Renovate by @renovate-bot in #198
- Update bazel toolchains pin and add toolchain config target by @nlopezgi in #201
- Add linker_script option to rust_binary by @m3rcuriel in #208
- Bump Rust to 1.33.0 by @mjduijn in #210
- Use ProtoInfo instead of legacy .proto attr by @mfarrugi in #211
- #190, #200 :: Migrate to new cc provider. by @mfarrugi in #209
- Make it possible for unit tests to have dev deps by @GregBowyer in #203
- Don't test on Ubuntu 14.04 by @philwo in #215
- Fix symlink resolution in runfiles.rs by @mfarrugi in #214
- update pin to bazel toolchains repo by @nlopezgi in #216
- Fix failure to build without iterable depset by @m3rcuriel in #221
- Add cc toolchain files to rustc dependencies (for linker) by @m3rcuriel in #217
- Migrate for Bazel's --incompatible_require_ctx_in_configure_features by @hlopko in #224
- Fix failure to build without iterable depset pt. 2 by @m3rcuriel in #225
- Add CARGO_CFG_TARGET_OS and CARGO_CFG_TARGET_ARCH to rustc environment variables by @johnedmonds in #230
- Update code for compatibility to Bazel 0.27 by @laurentlb in #232
- Bump Rust to 1.35.0. by @kprevas in #236
- Make rust_proto_library work with proto_library rules using import_prefix / strip_import_prefix . by @lberki in #239
- Replace the legacy .proto. provider with the new ProtoInfo. by @lberki in #242
- Replace the deprecated proto_source_root attribute. by @lberki in #241
- Use empty dictionary instead of None for kwargs by @vitalyd in #244
- Add allow_empty to glob, as the patterns don't necessarily match something by @laurentlb in #245
- Make rust_proto_library not require the proto_library.proto_source_ro… by @lberki in #246
- Update rules_rust dependency on skydoc by @c-parsons in #248
- Use C++ environment variables when constructing link command line by @hlopko in #252
- Update setup instructions by @laurentlb in #254
- Explicitly provide rustc the paths to the standard library. by @wildarch in #258
- Add support for wasm-bindgen. by @johnedmonds in #240
- Add badge for incompatible flag pipeline by @hlopko in #259
- Migrate rules_rust for incompatible_use_platforms_repo_for_constraints by @hlopko in #257
- Run buildifier to reformat bzl/BUILD files by @hlopko in #260
- fix: add all_files to the dummy cc_toolchain by @qzmfranklin in #265
- Update protobuf by @hlopko in #261
- Fix bzl loads by @hlopko in #262
- Bump Rust version to 1.39.0 by @ok32 in #273
- Mirror all http_archives. by @philwo in #269
- Rename wasm_transition to relate to what it actually does by @m3rcuriel in #272
- rust/private/dummy_cc_toolchain: be explicit about the repository by @aehlig in #277
- Use up to date stardoc to avoid build errors by @GregBowyer in #290
- Allow deps to be renamed by @GregBowyer in #285
- Add sha256 argument to load_arbitrary_tool by @m3rcuriel in #292
- Upd...