commit | af4b2cd5b1b290fd73669837e8c393f6d11afef5 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@fuchsia.infra.roller.google.com> | Tue Mar 19 05:35:03 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 18 22:38:33 2024 -0700 |
tree | b673ce2c391cd3f64c8c1587e4249fe1a09bba57 | |
parent | 1a64c7e162ccf8b692d674bde8ffd1fc2cd9f8b3 [diff] |
[roll] Roll fuchsia [fidlc] Remove SortStep This removes the fidlc SortStep. It previously served two purposes: * Detecting cycles. Since I0687bf37467cc0472dde71f8a171028c5698b748, all cycles are detected in the CompileStep. * Producing the "declaration_order" JSON IR field. This is now done just by appending to the list in CompileStep::CompileDecl. The new "declaration_order" is correct, but slightly different. The old method sorted primarily by dependency edges with Kahn's algorithm, and secondarily by name (accidentally descending rather than ascending). The new method sorts by depth-first search, visiting top-level declarations in alphabetical order (ascending). For example, in this library: library example; const X uint32 = Y; const Y uint32 = 0; const Z uint32 = 0; The old order is Z, Y, X, since Y and Z have no edges, and Z > Y. The new order is Y, X, Z, since the DFS is X -> Y, Z. Test: fx test fidlc-test Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1010229 Original-Revision: c3aa3044803873df022cac59975137f7365fe6f9 GitOrigin-RevId: 6a4d68a5b4888d119cfb2e8dd458475e76f57909 Change-Id: I6dc28e21b8d8e75b42ef57cff32d4fcd3aea25e4
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 via the IRC channel #fuchsia
on Freenode.
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
.