Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Rust edition, drop LTO and update deps: once_cell, atomic #83

Merged
merged 5 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
description = "The only publicly available Framework for developing applications for the Remarkable Paper Tablet w/ Low Latency Partial Refresh Support"
readme = "README.md"
exclude = [ "reference-material/*", "legacy-c-impl/*", "private/*" ]
edition = "2018"
edition = "2021"

[dependencies]
log = "0.4.14"
Expand All @@ -24,17 +24,16 @@ hlua = "0.4.1"
aabb-quadtree = "0.1.0"
zstd = "0.9.0+zstd.1.5.0"
stopwatch = "0.0.7"
atomic = "0.5.0"
atomic = "0.5.1"
cgmath = "0.18.0"
fxhash = "0.2.1"
once_cell = "1.8.0"
once_cell = "1.9.0"

[features]
enable-runtime-benchmarking = []

[profile.release]
debug = true
lto = true

[[example]]
name = "spy"
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ make TARGET=armv7-unknown-linux-gnueabihf deploy-x-demo
# then deploys the demo
```
##### Using [`musl`](https://musl.libc.org/)
Make sure to build with `lto = true` otherwise `musl` symbols may be improperly resolved (call to `mmap` fails).

1. Compile with `cross build --example demo --release --target=armv7-unknown-linux-musleabihf` (or `make x-demo`)
1. Run the demo: `make deploy-x-demo`

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ macro_rules! end_bench {
};
}

#[macro_use]
#[macro_use(io, ioc, iow, iowr)]
extern crate ioctl_gen;

pub use cgmath;
Expand Down