Sunday, June 22, 2025
HomeGolangGolang Constructing from Supply - Getting Assist

Golang Constructing from Supply – Getting Assist


I’ve been engaged on a analysis challenge that entails Rubbish assortment mechanisms in Golang. We’ve efficiently constructed Golang from supply code. Now, we are attempting so as to add minor modifications within the supply code and see if construct succeeds or not. As a starter, now we have added a log print in mgc.go file in perform gcinit on the very starting

func gcinit() {
	log.Print("In Operate GCINT ")
}

After including the log print, the construct fails with the next error:

In Operate GCINIT 
            In Operate GCINIT shift.go:12:6: (i8 + 1) (8 bits) too small for shift of 8
FAIL
FAIL    cmd/vet    9.460s
FAIL
go instrument dist: Failed: exit standing 1

We’ve tried to make use of fmt.printf however no luck up to now. We will probably be completely satisfied if somebody can assist

Hello @jaintapauljp,

I might think about that the fmt bundle causes issues.

Did you strive the built-in print or println capabilities?

Hello @christophberger , thanks for the suggestion. It nonetheless fails with the next message:

  --- FAIL: TestVet/rangeloop (0.46s)
        vet_test.go:146: error examine failed: 
            Unmatched Errors:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments