mirror of
				https://github.com/golang/go.git
				synced 2025-10-31 16:50:58 +00:00 
			
		
		
		
	 6781ff226d
			
		
	
	
		6781ff226d
		
	
	
	
	
		
			
			Fixes #68024
Change-Id: I730c3ecfb14472f3eea3895c2a4d5e1d4ac146f5
GitHub-Last-Rev: 4242f36010
GitHub-Pull-Request: golang/go#68840
Reviewed-on: https://go-review.googlesource.com/c/go/+/604696
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			603 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			603 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| # Copyright 2018 The Go Authors. All rights reserved.
 | |
| # Use of this source code is governed by a BSD-style
 | |
| # license that can be found in the LICENSE file.
 | |
| 
 | |
| SOURCE="${BASH_SOURCE[0]}"
 | |
| while [ -h "$SOURCE" ]; do
 | |
| 	DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
 | |
| 	SOURCE="$(readlink "$SOURCE")"
 | |
| 	[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
 | |
| done
 | |
| DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
 | |
| 
 | |
| # Increase the V8 stack size from the default of 984K
 | |
| # to 8192K to ensure all tests can pass without hitting
 | |
| # stack size limits.
 | |
| exec node --stack-size=8192 "$DIR/wasm_exec_node.js" "$@"
 |