File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,8 +31,26 @@ syntax:
3131Debugging calls across the JNI boundary is a bit tricky (as ever a bit more so on a Mac), but can be done by attaching
3232both a Java and native debugger (such as GDB/LLDB) to the program.
3333
34- ## Unsupported Features
35- You can see a list of features not yet supported in CedarJava at [ Differences from Rust] ( DIFFERENCES_FROM_RUST.md ) .
34+ ## Windows Support
35+
36+ Windows is not officially supported, but you can build CedarJava manually for Windows targets using the following workaround:
37+
38+ 1 . Clone the repository:
39+ ``` bash
40+ git clone https://github.com/cedar-policy/cedar-java
41+ cd cedar-java/CedarJavaFFI
42+ ```
43+
44+ 2 . Build the native library for your target ABI:
45+ ``` bash
46+ # For GNU ABI (MinGW)
47+ cargo build --features partial-eval --release --target x86_64-pc-windows-gnu
48+
49+ # For MSVC ABI (Visual Studio)
50+ cargo build --features partial-eval --release --target x86_64-pc-windows-msvc
51+ ```
52+
53+ 3 . Set the ` CEDAR_JAVA_FFI_LIB ` environment variable to point to the generated DLL.
3654
3755## Security
3856
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ publishing {
322322 }
323323 repositories {
324324 maven {
325- url = " https://s01.oss .sonatype.org /service/local/staging/deploy/maven2/"
325+ url = " https://ossrh-staging-api.central .sonatype.com /service/local/staging/deploy/maven2/"
326326 // To publish, uncomment these lines and ensure you have them set in `gradle.properties`
327327 // credentials {
328328 // username ossrhUsername
You can’t perform that action at this time.
0 commit comments