Small performance improvements
This commit is contained in:
parent
d306f19297
commit
c23fc6e9df
3
build.rs
3
build.rs
|
@ -6,6 +6,9 @@ fn main() {
|
||||||
.include(Path::new("shrooms-vb-core/core"))
|
.include(Path::new("shrooms-vb-core/core"))
|
||||||
.opt_level(2)
|
.opt_level(2)
|
||||||
.flag_if_supported("-fno-strict-aliasing")
|
.flag_if_supported("-fno-strict-aliasing")
|
||||||
|
.define("VB_LITTLE_ENDIAN", None)
|
||||||
|
.define("VB_SIGNED_PROPAGATE", None)
|
||||||
|
.define("VB_DIV_GENERIC", None)
|
||||||
.file(Path::new("shrooms-vb-core/core/vb.c"))
|
.file(Path::new("shrooms-vb-core/core/vb.c"))
|
||||||
.compile("vb");
|
.compile("vb");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit b4b9131f3976388b096343725fce1bdf35f4e3df
|
Subproject commit 7e31fbd5824d612e26a176aa2946497cfb2aa02e
|
Loading…
Reference in New Issue