commit | ba98c680211ea021e76d08b21daccdb8c80cc62b | [log] [tgz] |
---|---|---|
author | Adam Perry <adamperry@fuchsia.infra.roller.google.com> | Mon Mar 24 12:21:35 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 24 12:24:18 2025 -0700 |
tree | f14b25540910fdf242ac11a94d43b157d804ecce | |
parent | 6134c1134841391fa7bb93805aa95f6d18c61eab [diff] |
[roll] Roll fuchsia [src/lib/fuchsia] Improve compile error output. The transformer crate goes through a bunch of effort to avoid panics and to use errors that can be turned into compiler errors which preserve spans. But the proc macro entry points were unwrapping those results instead of passing them back to rustc as compiler errors. Replaces ``` error: custom attribute panicked --> ... | 25 | #[fuchsia::main(logging_tags=["...", threads=2])] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: message: called `Result::unwrap()` on an `Err` value: Error("expected string literal") ``` with ``` error: expected string literal --> ... | 25 | #[fuchsia::main(logging_tags=["...", threads=2])] | ^^^^^^^ ``` And should similarly improve other compiler errors. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1235171 Original-Revision: 8dc96c2ae9cfd2a5c99fdc4f8e11bc02093bb3e4 GitOrigin-RevId: c654ba6621cb4686ccae7e808b5900a735c77f90 Change-Id: I3dfce533e1a8a520c56d13729ad5b0c2a4b4c577
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.