docs: comments on copy-in-cwd & limit
This commit is contained in:
		
							parent
							
								
									bd5c83d3f0
								
							
						
					
					
						commit
						bb07b0e695
					
				|  | @ -47,8 +47,10 @@ files.import-map = { "tools/Makefile" = "h7/Makefile" } | ||||||
| # stages automatically | # stages automatically | ||||||
| files.export = [ "yes.txt" ] | files.export = [ "yes.txt" ] | ||||||
| # whether to copy all files from the current working directory from host (i.e. the whole repo) | # whether to copy all files from the current working directory from host (i.e. the whole repo) | ||||||
|  | # you can set it as false if you are in the run stage of a compiled language, as the binary is all you need | ||||||
| copy-in-cwd = true # default: true | copy-in-cwd = true # default: true | ||||||
| 
 | 
 | ||||||
|  | # normally, you DO NOT need to change these default limits | ||||||
| limit.cpu = "1s" # CPU time limit, default: "1s" | limit.cpu = "1s" # CPU time limit, default: "1s" | ||||||
| limit.mem = "256m" # memory limit, default: "256m" | limit.mem = "256m" # memory limit, default: "256m" | ||||||
| limit.time = "2s" # wall-clock time limit, if not set, will be 2x CPU time | limit.time = "2s" # wall-clock time limit, if not set, will be 2x CPU time | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user