mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 7e4e9fdb8f
			
		
	
	
		7e4e9fdb8f
		
	
	
	
	
		
			
			This commit starts adding support for WASI, along with the framework to implement all the functions (though only a couple are currently implemented).
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			452 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			452 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     AbstractMachine/AbstractMachine.cpp
 | |
|     AbstractMachine/BytecodeInterpreter.cpp
 | |
|     AbstractMachine/Configuration.cpp
 | |
|     AbstractMachine/Validator.cpp
 | |
|     Parser/Parser.cpp
 | |
|     Printer/Printer.cpp
 | |
|     WASI/Wasi.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibWasm wasm)
 | |
| target_link_libraries(LibWasm PRIVATE LibCore LibJS)
 | |
| 
 | |
| # FIXME: Install these into usr/Tests/LibWasm
 | |
| include(wasm_spec_tests)
 | |
| install(DIRECTORY Tests/ DESTINATION home/anon/Tests/wasm-tests)
 |