-
Notifications
You must be signed in to change notification settings - Fork 16
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
data_size
not rendered through YARD
#342
Comments
Hi @erickguan, having that API surfaced in Ruby makes sense to me. Feel free to send a PR, I'll be happy to review it. |
Sorry, I missed I debugged a little. |
data_size
not rendered through YARD
Does rust change this JSON format between last doc release? I poked my "fresh" environment: require 'yard'
require 'yard-rustdoc'
json_data = File.read('tmp/doc/wasmtime_rb.json')
puts "Loaded JSON data: #{json_data[0..500]}" # print the first 500 characters to verify
YARD::Registry.load(['tmp/doc/wasmtime_rb.json'])
YARD::Registry.all.each do |obj|
puts obj.inspect
end
I would suspect |
Hey,
I have a feature request. In my work, I'm interested in knowing the memory usage of a WASM module. In particular, I want to expose https://docs.rs/wasmtime/latest/wasmtime/struct.Memory.html#method.data_size
I would simply have the same API in Ruby. Happy to contribute a PR.
The text was updated successfully, but these errors were encountered: