runfiles 0.8.1
runfiles: ^0.8.1 copied to clipboard
Bazel runfiles library for Dart. Locates data files at runtime.
Changelog #
0.8.1 #
Breaking #
- Kernel, import-check, link-hook and web compiles run on any host with a Dart SDK, e.g. remote Linux
- Rules merging
KERNEL_TOOL_ATTRor callingdart_link_hook_actionsdeclarePORTABLE_EXEC_GROUPS dart_link_hook_actionsno longer takessdkdart_toolchainrequiresexec_osandexec_arch- Dart actions share results across configurations under
--experimental_output_paths=strip PATH_MAPPINGinutils.bzlopts a downstream rule's actions into path mapping- Removed
DartKernelSdkInfo.sdk_root; the SDK is found besideplatform - Replaced
kernel_rootswithadd_kernel_roots, which adds the roots to anArgs colocate_entrypointreturns the entrypoint's path inside its directorydart_binarystack traces name sources by workspace path, notbazel-outpath- A code asset library built in two configurations for one program fails analysis
Added #
--@rules_dart//dart:analysis_shutdown_workaround=trueends an analysis server that hangs in shutdowndart_analyzeanddart_fixactions no longer share an analysis cache in/tmp/.dartServer- An asset in
dart_test/dart_binarycode_assetsreplaces the onedepssupply under its id //dart:utils.bzlexportsresolve_code_assetsand the helpers it builds on
Changed #
dart_analyzeanddart_web_applicationno longer copy every dependency for each target- Default Dart SDK is 3.13.7
Fixed #
dart_binaryexeandaot-snapshotoutputs on macOS are the same bytes on every builddart_binarylinks its code assets into<name>.native/; copy it with the executable- Rules analyze and build with
--incompatible_auto_exec_groups - Cross-compiled
dart_binarybuilds without network access in the sandbox and on remote workers - Dart SDK actions no longer write analytics files into
/tmp
Full Changelog: https://github.com/aran/rules_dart/compare/v0.8.0...v0.8.1