Skip to content

Commit 7f5bec7

Browse files
committed
Release 0.5.2
1 parent 3f226e9 commit 7f5bec7

File tree

5 files changed

+712
-10
lines changed

5 files changed

+712
-10
lines changed

lvgl-codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lvgl-codegen"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
description = "Code generation based on LVGL source code"
55
authors = ["Rafael Caricio <[email protected]>"]
66
readme = "README.md"

lvgl-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "lvgl-sys"
33
description = "Raw bindings to the LittlevGL C library."
4-
version = "0.5.1"
4+
version = "0.5.2"
55
authors = ["Rafael Caricio <[email protected]>"]
66
edition = "2018"
77
license = "MIT"

lvgl-sys/build.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ fn main() {
1616
match std::env::var("DOCS_RS") {
1717
Ok(_) => {
1818
// We've detected that we are building for docs.rs
19-
// so let's set the examples `lv_conf.h` file.
20-
project_dir.join("..").join("examples").join("include")
19+
// so let's use the vendored `lv_conf.h` file.
20+
vendor.clone()
2121
}
2222
Err(_) => panic!(
2323
"The environment variable {} is required to be defined",
@@ -38,7 +38,8 @@ fn main() {
3838
}
3939
if !conf_path.join("lv_conf.h").exists() {
4040
panic!(format!(
41-
"Directory referenced by {} needs to contain a file called lv_conf.h",
41+
"Directory {} referenced by {} needs to contain a file called lv_conf.h",
42+
conf_path.to_string_lossy(),
4243
CONFIG_NAME
4344
));
4445
}

0 commit comments

Comments
 (0)