File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,14 @@ var StdlibDeprecations = map[string]Deprecation{
209
209
"go/ast.Scope" : {"go1.22" , "go1.0" },
210
210
"html/template.ErrJSTemplate" : {"go1.22" , DeprecatedUseNoLonger },
211
211
"reflect.PtrTo" : {"go1.22" , "go1.18" },
212
+
213
+ // Technically, runtime.GOROOT could be considered DeprecatedNeverUse, but
214
+ // using it used to be a lot more common and accepted.
215
+ "runtime.GOROOT" : {"go1.24" , DeprecatedUseNoLonger },
216
+ // These are never safe to use; a concrete alternative was added in Go 1.2 (crypto/cipher.AEAD).
217
+ "crypto/cipher.NewCFBDecrypter" : {"go1.24" , "go1.2" },
218
+ "crypto/cipher.NewCFBEncrypter" : {"go1.24" , "go1.2" },
219
+ "crypto/cipher.NewOFB" : {"go1.24" , "go1.2" },
212
220
}
213
221
214
- // Last imported from Go at e8ee1dc4f9e2632ba1018610d1a1187743ae397f
222
+ // Last imported from GOROOT/api/go1.24.txt at fadfe2fc80f6b37e99b3e7aa068112ff539717c9.
You can’t perform that action at this time.
0 commit comments