Skip to content

Fix a couple of things on arm64#3251

Merged
peterebden merged 5 commits intothought-machine:masterfrom
peterebden:improve-arm64
Sep 9, 2024
Merged

Fix a couple of things on arm64#3251
peterebden merged 5 commits intothought-machine:masterfrom
peterebden:improve-arm64

Conversation

@peterebden
Copy link
Copy Markdown
Collaborator

@peterebden peterebden commented Sep 8, 2024

Fix a failing test where it seems like sub-second precision is getting lost on the timestamps. I don't know why I'm seeing this (I'm pretty sure btrfs supports more than that, although I don't have a canonical source on that). Regardless, we shouldn't be using time.Date.String():

The returned string is meant for debugging; for a stable serialized representation, use t.MarshalText, t.MarshalBinary, or t.Format with an explicit format string. 

So indeed, we now use an explicit format string.

Also update version of upgrade tests to be more recent (when we have builds for this target). In general it's probably good for this not to be too ancient (this isn't meant to test upgrading from an arbitrarily old version).

Split out static build fixes to #3252

@peterebden peterebden merged commit baf8fbd into thought-machine:master Sep 9, 2024
@peterebden peterebden deleted the improve-arm64 branch September 9, 2024 09:44
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.

2 participants