-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tim Crawford <[email protected]>
- Loading branch information
Showing
8 changed files
with
66 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[build] | ||
target = "x86_64-unknown-uefi" | ||
|
||
[target.x86_64-unknown-uefi] | ||
rustflags = [ | ||
"-Clink-arg=/heap:0,0", | ||
"-Clink-arg=/stack:0,0", | ||
"-Clink-arg=/dll", | ||
"-Clink-arg=/base:0", | ||
"-Clink-arg=/align:32", | ||
"-Clink-arg=/filealign:32", | ||
"-Clink-arg=/subsystem:efi_boot_service_driver" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: CC0-1.0 | ||
# SPDX-FileCopyrightText: NONE | ||
|
||
.gitattributes export-ignore | ||
.gitignore export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
build | ||
target | ||
# SPDX-License-Identifier: CC0-1.0 | ||
# SPDX-FileCopyrightText: NONE | ||
|
||
target/ | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
# SPDX-FileCopyrightText: 2024 System76, Inc. | ||
|
||
# List available recipes | ||
@help: | ||
just --list | ||
|
||
# Build the project | ||
@build *args='': | ||
cargo build {{args}} | ||
|
||
# Generate API documentation | ||
@doc *args='': | ||
cargo doc --workspace --document-private-items --no-deps {{args}} | ||
|
||
# Run clippy | ||
@clippy *args='': | ||
cargo clippy --all-features {{args}} | ||
|
||
# Run rustfmt | ||
@fmt *args='': | ||
cargo fmt --all {{args}} | ||
|
||
# Remove build artifacts | ||
@clean: | ||
cargo clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters