Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
46,134 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/target | ||
*/.rs.bk | ||
Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[package] | ||
name = "sapp-kms" | ||
version = "0.1.0" | ||
authors = ["not-fl3 <not.fl3@gmail.com>"] | ||
edition = "2018" | ||
license = "MIT/Apache-2.0" | ||
build = "build.rs" | ||
description = """ | ||
Part of miniquad rendering library. | ||
Orignally this was a sokol-app C code transpiled to rust with c2rust and partially rewritten to more idiomatic rust. | ||
""" | ||
homepage = "https://github.com/not-fl3/miniquad" | ||
|
||
[dependencies] | ||
libc = "0.2" | ||
|
||
[build-dependencies] | ||
cc = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
fn main() { | ||
println!("cargo:rustc-link-lib=dylib=GLESv2"); | ||
println!("cargo:rustc-link-lib=dylib=EGL"); | ||
println!("cargo:rustc-link-lib=dylib=drm"); | ||
println!("cargo:rustc-link-lib=dylib=gbm"); | ||
} |
Oops, something went wrong.