Fix a nil pointer issue in restore (#1106) #45
Annotations
10 errors
          | 
                      
                          build
                        
                      
                       unsafe.Offsetof(cpu.PPC64.IsPOWER9) (value of type uintptr) is not constant | 
| 
                      
                          build
                        
                      
                       cannot use cpu.PPC64.IsPOWER9 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof | 
| 
                      
                          build
                        
                      
                       unsafe.Offsetof(cpu.S390X.HasVX) (value of type uintptr) is not constant | 
| 
                      
                          build
                        
                      
                       cannot use cpu.S390X.HasVX (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof | 
| 
                      
                          build
                        
                      
                       unsafe.Offsetof(cpu.X86.HasPOPCNT) (value of type uintptr) is not constant | 
| 
                      
                          build
                        
                      
                       cannot use cpu.X86.HasPOPCNT (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof | 
| 
                      
                          build
                        
                      
                       unsafe.Offsetof(cpu.X86.HasAVX2) (value of type uintptr) is not constant | 
| 
                      
                          build
                        
                      
                       cannot use cpu.X86.HasAVX2 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof | 
| 
                      
                          build
                        
                      
                       unsafe.Offsetof(cpu.X86.HasSSE42) (value of type uintptr) is not constant | 
| 
                      
                          build
                        
                      
                       cannot use cpu.X86.HasSSE42 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof |