Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

fix issue #15 - #16

Merged
ncharlton02 merged 1 commit into
masterfrom
fix-builds
Jun 22, 2020
Merged

fix issue #15#16
ncharlton02 merged 1 commit into
masterfrom
fix-builds

Conversation

@ncharlton02

@ncharlton02 ncharlton02 commented Jun 22, 2020

Copy link
Copy Markdown
Collaborator

Fixes issue #15 by making the fall callback a field of WgpuNativeTest. This is needed because jnr does not keep a reference to the callback, so it is GC'd away. See lmdbjava/lmdbjava#125 for more details.

This commit also makes it so that wgpu-java/native will fail if any of the tests are skipped. This is because if rust code panics, the JVM will exit and then the test will be skipped automatically.

@ncharlton02
ncharlton02 merged commit 861c4eb into master Jun 22, 2020
@ncharlton02
ncharlton02 deleted the fix-builds branch June 22, 2020 23:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant