tinygo
tinygo copied to clipboard
os/user.Lookup
Add support for User lookup via os/user.Lookup()
@deadprogram any thoughts on this?
@deadprogram do you have any recommendations on what to improve or does this look good to you?
@aykevl maybe you can have a short look at this?
ping for review
Just waiting for #4027 to land before any more changes to this part of the code.
for some reason smoke test test-llvm15-go118 fails again
for some reason smoke test
test-llvm15-go118fails again
That's https://github.com/tinygo-org/tinygo/issues/4206
Not quite sure why the windows build fails here: ld.lld: error: undefined symbol: notARealFunction
commit 7b7601d77c681a3c2ce53ce3f89dbdfc35eec492 added stubs, but we should still get this functionality in @deadprogram
Since I did not touch the rp2040 specific code, it looks like yet another CI error
/go/bin/tinygo build -size short -o test.hex -target=nano-rp2040 examples/rtcinterrupt unexpected fault address 0x27cc fatal error: fault [signal SIGSEGV: segmentation violation code=0xfffffffffffffffa addr=0x27cc pc=0x6e9d62]
@deadprogram @aykevl the CI race again, ready to merge?
@aykevl @deadprogram @dgryski @10000TB
anyone with approval power care to approve ?
@leongross can you please rebase this PR against the latest dev? Thanks!
@deadprogram rebase done
@aykevl
Looking for an approval ! TY
@deadprogram @aykevl
Oh sorry I totally forgot about this PR! @leongross what do you think about #4324? It defers to the Go stdlib for the os/user package by setting the osusergo build tag, which means we have less to maintain in TinyGo.
If the usergo tag works as I would suspect this should resolve this PR and any further implementations, looks really promising!
@leongross @aykevl so that means #4324 would replace this PR, correct?
@leongross @aykevl so that means https://github.com/tinygo-org/tinygo/pull/4324 would replace this PR, correct?
Just wondering... :smile_cat:
@leongross @aykevl so that means #4324 would replace this PR, correct?
Just wondering... 😸
I hope so :) This would be a good generic solution, I cannot think of any use case atm where the implementation covered in this PR would make a difference.
#4324 is successfully merged so this can be closed.