go-billy icon indicating copy to clipboard operation
go-billy copied to clipboard

add stubs to allow compilation under GOOS=tamago

Open abarisani opened this issue 1 year ago • 3 comments

The TamaGo bare metal framework would benefit from being able to integrate go-git on bare metal firmware.

This PR, in combination with this go-git PR adds the required stubs to allow compilation under GOOS=tamago.

Thanks

abarisani avatar Feb 01 '24 12:02 abarisani

It would be great to have tests to ensure we won't get regressions in the future. Can you please add something around the lines of what we have for wasi or wasm?

pjbgf avatar Feb 01 '24 13:02 pjbgf

It would be great to have tests to ensure we won't get regressions in the future. Can you please add something around the lines of what we have for wasi or wasm?

This would require downloading and using our own compiler rather than stock Go, would you be fine with this? (for all intents and purposes we are identical to js at this point)

abarisani avatar Feb 01 '24 14:02 abarisani

@abarisani yep, that's fine. Something around the likes of #44 should be OK.

pjbgf avatar Feb 16 '24 17:02 pjbgf