Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Code cleanup
  • Loading branch information
luadebug authored Aug 3, 2024
1 parent 9fba840 commit f0da601
Show file tree
Hide file tree
Showing 20 changed files with 1,578 additions and 1,269 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cargo-features = ["edition2024", "profile-rustflags"]

[package]
name = "rusted-assault-cube"
version = "3.0.0"
version = "2.3.0"
edition = "2024"
authors = ["luadebug Lin Evelynn [email protected]"]
publish = false
Expand Down Expand Up @@ -41,4 +41,4 @@ strip = true
#rustflags = ["-C", "link-arg=-fuse-ld=mold"]

[target.'cfg(target_os="windows")'.build-dependencies]
vcpkg = "0.2.15"
vcpkg = "0.2.15"
21 changes: 9 additions & 12 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
use std::path::Path;
use vcpkg::Error;

fn main() {



match vcpkg::find_package("freetype") {
Ok(freetype) => println!("{:?}", freetype.include_paths) ,
Err(err) => println!("{}", err),
}
}
use std::path::Path;
use vcpkg::Error;

fn main() {
match vcpkg::find_package("freetype") {
Ok(freetype) => println!("{:?}", freetype.include_paths),
Err(err) => println!("{}", err),
}
}
Loading

0 comments on commit f0da601

Please sign in to comment.