mirror of
				https://github.com/golang/go.git
				synced 2025-10-31 08:40:55 +00:00 
			
		
		
		
	cmd/link/internal/ld: skip the windows ASLR test when CGO_ENABLED=0
the test case is still using gcc when CGO is disabled.
Change-Id: I2d255bfaeb92816c8343ab72fd7984b6632d421d
GitHub-Last-Rev: de14748bd5
GitHub-Pull-Request: golang/go#46120
Reviewed-on: https://go-review.googlesource.com/c/go/+/319169
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
			
			
This commit is contained in:
		
							parent
							
								
									361159c055
								
							
						
					
					
						commit
						901510ed4e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -174,6 +174,8 @@ func TestWindowsBuildmodeCSharedASLR(t *testing.T) { | |||
| 		t.Skip("skipping windows amd64/386 only test") | ||||
| 	} | ||||
| 
 | ||||
| 	testenv.MustHaveCGO(t) | ||||
| 
 | ||||
| 	t.Run("aslr", func(t *testing.T) { | ||||
| 		testWindowsBuildmodeCSharedASLR(t, true) | ||||
| 	}) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 hao
						hao