Skip to content

Commit

Permalink
Update libphysis, override to cdylib here
Browse files Browse the repository at this point in the history
This is working around Windows being cruddy, where we built the DLL version of
Physis everywhere instead of just here.
  • Loading branch information
redstrate committed Jun 29, 2024
1 parent a26ca6b commit d966112
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# build libphysis
cd libphysis &&
cargo build --features visual_data &&
cargo rustc --features visual_data --crate-type=cdylib &&

# build the rust layer
cd ../rust &&
Expand Down
2 changes: 1 addition & 1 deletion libphysis
3 changes: 2 additions & 1 deletion rust/physis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
pub const __SYSCALL_WORDSIZE: u32 = 64;
pub const _GLIBCXX_CXX_CONFIG_H: u32 = 1;
pub const _GLIBCXX_RELEASE: u32 = 14;
pub const __GLIBCXX__: u32 = 20240411;
pub const __GLIBCXX__: u32 = 20240620;
pub const _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY: u32 = 1;
pub const _GLIBCXX_USE_DEPRECATED: u32 = 1;
pub const _GLIBCXX_EXTERN_TEMPLATE: u32 = 1;
Expand Down Expand Up @@ -51,6 +51,7 @@ pub const __USE_XOPEN2KXSI: u32 = 1;
pub const __USE_LARGEFILE: u32 = 1;
pub const __USE_LARGEFILE64: u32 = 1;
pub const __TIMESIZE: u32 = 64;
pub const __USE_TIME_BITS64: u32 = 1;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_DYNAMIC_STACK_SIZE: u32 = 1;
Expand Down

0 comments on commit d966112

Please sign in to comment.