feat!(quic): Remove gccgo support
Some checks failed
Mirror Push / mirror (push) Successful in 7s
Gitea Release / release (push) Failing after 22s
Test / test (stable) (push) Successful in 38s
Test / test (oldstable) (push) Successful in 1m23s

Since gccgo is stuck at 1.18 without generics, drop support
sadge

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-11-08 21:51:44 +01:00
parent c5c90b97af
commit 59fa146d7f
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 0 additions and 27 deletions

View file

@ -1,5 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause
//go:build !gccgo
package resolvers

View file

@ -1,26 +0,0 @@
// SPDX-License-Identifier: BSD-3-Clause
//go:build gccgo
// TODO: Whenever gccgo supports quic-go, delete this
package resolvers
import (
"errors"
"dns.froth.zone/awl/pkg/util"
"github.com/miekg/dns"
)
// QUICResolver is for DNS-over-QUIC queries.
type QUICResolver struct {
opts *util.Options
}
var _ Resolver = (*QUICResolver)(nil)
var errNotImplemented = errors.New("DNS-over-QUIC not supported when running gccgo!")
// LookUp cannot be used with gccgo because gccgo does not (and likely will not) support generics.
func (resolver *QUICResolver) LookUp(msg *dns.Msg) (util.Response, error) {
return util.Response{}, errNotImplemented
}