Skip to content

Commit

Permalink
Merge pull request #83 from fenollp/bump-edition
Browse files Browse the repository at this point in the history
Bump Rust edition, drop LTO and update deps: once_cell, atomic
  • Loading branch information
LinusCDE committed Dec 21, 2021
2 parents ee627e1 + b8c0853 commit 6fd0b1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
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

0 comments on commit 6fd0b1d

Please sign in to comment.