Skip to content

runtime: add freebsd free_memory() support#23594

Merged
spytheman merged 3 commits into
vlang:masterfrom
kbkpbot:runtime-freebsd-free
Jan 29, 2025
Merged

runtime: add freebsd free_memory() support#23594
spytheman merged 3 commits into
vlang:masterfrom
kbkpbot:runtime-freebsd-free

Conversation

@kbkpbot

@kbkpbot kbkpbot commented Jan 26, 2025

Copy link
Copy Markdown
Contributor

Fix issue #23581

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-22020

@medvednikov

Copy link
Copy Markdown
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

Comment thread vlib/builtin/cfns.c.v Outdated

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

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
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