arm: set default GC to marksweep
Этот коммит содержится в:
		
							родитель
							
								
									e817bd38ec
								
							
						
					
					
						коммит
						e45c4ac182
					
				
					 2 изменённых файлов: 1 добавлений и 10 удалений
				
			
		
							
								
								
									
										10
									
								
								main_test.go
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								main_test.go
									
										
									
									
									
								
							| 
						 | 
					@ -58,19 +58,9 @@ func runTest(path, tmpdir string, target string, t *testing.T) {
 | 
				
			||||||
		t.Fatal("could not read expected output file:", err)
 | 
							t.Fatal("could not read expected output file:", err)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	var gc string
 | 
					 | 
				
			||||||
	if target == "qemu" {
 | 
					 | 
				
			||||||
		// make sure testdata/gc.go passes
 | 
					 | 
				
			||||||
		gc = "marksweep"
 | 
					 | 
				
			||||||
	} else {
 | 
					 | 
				
			||||||
		// pick the default heap implementation
 | 
					 | 
				
			||||||
		gc = ""
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	// Build the test binary.
 | 
						// Build the test binary.
 | 
				
			||||||
	config := &BuildConfig{
 | 
						config := &BuildConfig{
 | 
				
			||||||
		opt:        "z",
 | 
							opt:        "z",
 | 
				
			||||||
		gc:         gc,
 | 
					 | 
				
			||||||
		printIR:    false,
 | 
							printIR:    false,
 | 
				
			||||||
		dumpSSA:    false,
 | 
							dumpSSA:    false,
 | 
				
			||||||
		debug:      false,
 | 
							debug:      false,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	"build-tags": ["tinygo.arm", "js", "wasm"],
 | 
						"build-tags": ["tinygo.arm", "js", "wasm"],
 | 
				
			||||||
	"compiler": "clang-7",
 | 
						"compiler": "clang-7",
 | 
				
			||||||
 | 
						"gc": "marksweep",
 | 
				
			||||||
	"linker": "arm-none-eabi-ld",
 | 
						"linker": "arm-none-eabi-ld",
 | 
				
			||||||
	"rtlib": "compiler-rt",
 | 
						"rtlib": "compiler-rt",
 | 
				
			||||||
	"cflags": [
 | 
						"cflags": [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче