Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add os/file.Truncate #4209

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Conversation

leongross
Copy link

Add file.Truncate() to file.go

src/os/truncate_test.go Outdated Show resolved Hide resolved
Signed-off-by: leongross <leon.gross@9elements.com>
Signed-off-by: leongross <leon.gross@9elements.com>
@leongross leongross force-pushed the os/file/truncate branch 2 times, most recently from e8dac1d to 0851695 Compare April 8, 2024 14:09
@10000TB
Copy link

10000TB commented Apr 30, 2024

any update on next steps ?

@leongross leongross changed the title os/file/truncate Add os/file.Truncate May 17, 2024
@leongross leongross force-pushed the os/file/truncate branch 2 times, most recently from 0b48cf0 to e3e4e5a Compare June 4, 2024 12:34
Signed-off-by: leongross <leon.gross@9elements.com>
@leongross
Copy link
Author

leongross commented Jun 7, 2024

CI error does not seem to be related to the Truncate code, maybe another compiler issue? @deadprogram @aykevl, is this related to #3871?

no Go files in D:\a\tinygo\tinygo\tests\testing
ld.lld: error: undefined symbol: notARealFunction
>>> referenced by main
>>>               C:\Users\RUNNER~1\AppData\Local\Temp\tinygo1547056251\main.o
failed to run tool: ld.lld
--- FAIL: TestBuild (0.00s)
    --- FAIL: TestBuild/Host (0.00s)
        --- FAIL: TestBuild/Host/rand.go (36.58s)
            main_test.go:395: output did not match (expected 35 bytes, got 0 bytes):
FAIL
FAIL	github.com/tinygo-org/tinygo	110.872s

@10000TB
Copy link

10000TB commented Jun 11, 2024

@leongross that seems fixed in 0.29.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants