Myrddin Dundragon 19c15f8aff [#1] Adjusted the library to use the new server.
Removed the scribe and weave requirements. Scribe was only being used
in the build, so it was switched to print statements. Weave was being
used for error, but it was switched over to the Rust core and std
error versions.
2025-03-03 02:07:54 -05:00
2017-03-04 14:04:57 -05:00
2017-01-06 19:13:34 -05:00

Pact

This library will provided the binding for the standard 'C' functions. Later, as a stretch goal, this library will attempt to implement those functions in Rust.

Features

This library handles several different ways of providing what is needed at the 'C' binding level.

Standard C Library

This is the default feature set.

It will provide a link to the 'C' standard library. This will make it so that your code is executable and can call functions and use structures from the standard 'C' library.

Rust C Library

   default-features = false
   features = ["rust_lib"]

Currently, this does not work. Later, this will provide a Rust version of all the 'C' standard library functions. This is a huge stretch goal. It may not happen, or it may take a really long time to get this done. This will require alot of platform specific work.

No Memory Manipulation

   default-features = false
   features = ["no_mem_manip"]

This feature tells the library to not define the memory manipulation functions that Rust requires for LLVM. These are:

  • memcpy
  • memmove
  • memcmp
  • memset

Weak

   default-features = false
   features = ["no_mem_manip", "weak"]

Activates weak linkage on ELF objects. This is only useful when combined with the 'no_mem_manip' feature.

Description
This library will provided the binding for the standard 'C' functions. Later, as a stretch goal, this library will attempt to implement those functions in Rust.
Readme 57 KiB
Languages
Rust 94.6%
C 5.4%