Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ cd firmware-binaries;
fb_res="$?"
cd ..

cd host-binaries;
printf "host-binaries " >&2;
run cargo "$@";
hb_res="$?"
cd ..

if [[ fs_res -ne 0 ]]; then
echo "firmware-support failure!"
fi
Expand All @@ -42,7 +48,10 @@ if [[ fb_res -ne 0 ]]; then
echo "firmware-binaries failure!"
fi

if [[ hb_res -ne 0 ]]; then
echo "host-binaries failure!"
fi

if [[ fs_res -ne 0 ]] || [[ fb_res -ne 0 ]] ; then
if [[ fs_res -ne 0 ]] || [[ fb_res -ne 0 ]] || [[ hb_res -ne 0 ]]; then
exit 1
fi
6 changes: 6 additions & 0 deletions host-binaries/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2022 Google LLC
#
# SPDX-License-Identifier: CC0-1.0

[build]
target-dir = "../_build/cargo/host-binaries"
154 changes: 154 additions & 0 deletions host-binaries/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions host-binaries/Cargo.lock.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions host-binaries/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: 2022 Google LLC
#
# SPDX-License-Identifier: CC0-1.0

[workspace]
members = [
"memmap-markdown"
]

resolver = "2"
12 changes: 12 additions & 0 deletions host-binaries/memmap-markdown/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-FileCopyrightText: 2024 Google LLC
#
# SPDX-License-Identifier: CC0-1.0

[package]
name = "memmap-markdown"
version = "0.1.0"
edition = "2024"

[dependencies]
memmap-generate = { path = "../../firmware-support/memmap-generate" }
heck = "0.5.0"
Loading