mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:32:43 +00:00 
			
		
		
		
	 4d9246ac9d
			
		
	
	
		4d9246ac9d
		
	
	
	
	
		
			
			This adds very basic support for module instantiation/allocation, as well as a stub for an interpreter (and executions APIs). The 'wasm' utility is further expanded to instantiate, and attempt executing the first non-imported function in the module. Note that as the execution is a stub, the expected result is a zero. Regardless, this will allow future commits to implement the JS WebAssembly API. :^)
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			246 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			246 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     AbstractMachine/AbstractMachine.cpp
 | |
|     AbstractMachine/Configuration.cpp
 | |
|     AbstractMachine/Interpreter.cpp
 | |
|     Parser/Parser.cpp
 | |
|     Printer/Printer.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibWasm wasm)
 | |
| target_link_libraries(LibWasm LibC LibCore)
 |