-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
28 lines (26 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
name = "gba-cell"
description = "A minimal cell wrapper for communication between regular and IRQ code on the GBA using single-word values."
repository = "https://github.com/rust-console/gba-cell"
version = "0.0.1"
edition = "2021"
license = "Zlib OR Apache-2.0 OR MIT"
[features]
default = ["on_gba"]
# SEE THE CRATE DOCS FOR SAFETY RELATED INFO REGARDING THIS FEATURE.
on_gba = []
# utilize `doc_cfg` where appropriate. requires nightly. intended mostly for use
# during docs.rs documentation generation.
doc_cfg = []
# Activates the `track_caller` attribute on various functions. Use of the
# `track_caller` attribute on a function adds a "secret" extra argument for the
# `Location` of the caller, which can reduce performance if the function is not
# inlined (meaning `Location` is passed via the stack). This is only needed for
# debugging, and so it's off by default.
track_caller = []
[package.metadata.docs.rs]
# When building the crate docs, we want to see the crate "as if" it was running
# on the GBA. This is the closest target that docs.rs supports by default and
# which *also* supports the `instruction_set` attribute to avoid build errors.
targets = ["armv5te-unknown-linux-gnueabi"]
features = ["doc_cfg"]