Fixed the memory functions required for LLVM to properly work.
This required the fixing of the features section to properly handle passing on the use_std feature. It also required that the memory functions were moved to the main library module instead of within the rust module as was previously desired. The C module then correctly skips defining the external C library functions. Basic time functionality was also added.
This commit is contained in:
		
							
								
								
									
										14
									
								
								Cargo.toml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								Cargo.toml
									
									
									
									
									
								
							@ -1,12 +1,20 @@
 | 
			
		||||
[package]
 | 
			
		||||
name = "c_rs"
 | 
			
		||||
name = "pact"
 | 
			
		||||
version = "0.1.0"
 | 
			
		||||
authors = ["Jason Travis Smith <Myrddin@CyberMagesLLC.com>"]
 | 
			
		||||
description = "Rust bindings for standard C functions."
 | 
			
		||||
license = ""
 | 
			
		||||
repository = "https://gitlab.com/CyberMages/c_rs.git"
 | 
			
		||||
repository = "https://gitlab.com/CyberMages/pact.git"
 | 
			
		||||
documentation = ""
 | 
			
		||||
keywords = ["c", "libc", "binding", "ffi"]
 | 
			
		||||
keywords = ["c", "libc", "binding", "ffi", "pact", "nostd"]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[features]
 | 
			
		||||
default = ["c_lib"]
 | 
			
		||||
use_std = ["scribe/use_std", "binding/use_std"]
 | 
			
		||||
c_lib = []
 | 
			
		||||
no_mem_manip = []
 | 
			
		||||
weak = []
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[dependencies.scribe]
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user