diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-06 00:58:09 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-06 10:46:30 -0400 |
| commit | d30664958ec1031a99373414e17c124b4fa468fa (patch) | |
| tree | 23efb7d8dbb4208f4d77732e7a91dff7842b97fb /tools | |
| parent | bfe08aa4629ee2834ac5c7eaea4db164db1e66ae (diff) | |
Further gn/rust cleanups
Move rust.gni and deno.gni into build_extra/
Removes rust_library which was only an action. This instead defines
rust_component, which is an action plus a gn "component" target
to expose the resulting object file. This simplifies link code in
rust.gni.
Support rust modules that can be linked into C++.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/format.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/format.sh b/tools/format.sh index f0c7ec0a1..44ca815ff 100755 --- a/tools/format.sh +++ b/tools/format.sh @@ -4,8 +4,9 @@ cd `dirname "$0"`/.. clang-format -i -style Google src/*.cc src/*.h gn format BUILD.gn -gn format deno.gni -gn format rust.gni +gn format build_extra/deno.gni +gn format build_extra/rust/rust.gni +gn format build_extra/rust/BUILD.gn gn format .gn yapf -i js/*.py |
