Skip to content

About

Reproduction for bool FFI issue

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction for an issue encountered in Rust >= 1.99.0.

The FFI function returning bool returns values other than 0 or 1 to the C calller.

Run

Build with:

make

Run:

./ffi

It should print 0 or 1, but I get 16.

About

Reproduction for bool FFI issue

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages