Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 684 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 684 Bytes

softfloat-sys

Rust bindings to Berkeley softfloat library written in C

Requirements

  • Rust 1.64 - due to stabilized core::ffi types
  • rustfmt component - bindgen uses it to prettify generated bindings
  • clang compiler and libclang - used by bindgen to generate C type aliases from C header

Supported targets:

  • Linux x86-64
  • Wasm32

Other platforms are supported, though appropriate target branches not added to build.rs. See berkeley-softfloat-3/build for list of properly defined targets, except template-* subfolders. Please note that makefiles are not used, so you'll need to copy target-specific settings from respective Makefile to build.rs.