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

runtime: add freebsd free_memory() support #23594

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

kbkpbot
Copy link
Contributor

@kbkpbot kbkpbot commented Jan 26, 2025

Fix issue #23581

Copy link

Connected to Huly®: V_0.6-22020

@medvednikov
Copy link
Member

FAIL  [45/69] C:   491.4 ms, R:     2.697 ms vlib/runtime/runtime_test.v
total memory: 8552550400
free  memory: 0
/tmp/cirrus-ci-build/vlib/runtime/runtime_test.v:8: fn test_physical_memory
  > assert total > 0 && free > 0
    Left value (len: 4): `true`
   Right value (len: 5): `false`

    nr cpus: 2
    nr jobs: 1
   is_32bit: false
   is_64bit: true
      is_le: true
      is_be: false

vlib/builtin/cfns.c.v Outdated Show resolved Hide resolved
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 7549020 into vlang:master Jan 29, 2025
62 checks passed
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.

3 participants