mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
makefile: add deadcode linter exclusion rules for the gate package
The deadcode linter does not check the Go assembly code and assumes that dispatchInterrupt and interruptGateEntries are not used.
This commit is contained in:
parent
7deeab3cbc
commit
bd16555c83
2
Makefile
2
Makefile
@ -189,6 +189,8 @@ lint: lint-check-deps
|
|||||||
--deadline 300s \
|
--deadline 300s \
|
||||||
--exclude 'possible misuse of unsafe.Pointer' \
|
--exclude 'possible misuse of unsafe.Pointer' \
|
||||||
--exclude 'x \^ 0 always equals x' \
|
--exclude 'x \^ 0 always equals x' \
|
||||||
|
--exclude 'dispatchInterrupt is unused' \
|
||||||
|
--exclude 'interruptGateEntries is unused' \
|
||||||
src/...
|
src/...
|
||||||
|
|
||||||
lint-check-deps:
|
lint-check-deps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user