Skip to content

Commit f541702

Browse files
Bump doc
1 parent 2339345 commit f541702

45 files changed

Lines changed: 22883 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

latest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v43.0.0
1+
v43.0.1

v43.0.1/Wasmtime.html

Lines changed: 256 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,256 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>
7+
Module: Wasmtime
8+
9+
&mdash; Documentation by YARD 0.9.39
10+
11+
</title>
12+
13+
<link rel="stylesheet" href="css/style.css" type="text/css" />
14+
15+
<link rel="stylesheet" href="css/common.css" type="text/css" />
16+
17+
<script type="text/javascript">
18+
pathId = "Wasmtime";
19+
relpath = '';
20+
</script>
21+
22+
23+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24+
25+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26+
27+
28+
</head>
29+
<body>
30+
<div class="nav_wrap">
31+
<iframe id="nav" src="class_list.html?1"></iframe>
32+
<div id="resizer"></div>
33+
</div>
34+
35+
<div id="main" tabindex="-1">
36+
<div id="header">
37+
<div id="menu">
38+
39+
<a href="_index.html">Index (W)</a> &raquo;
40+
41+
42+
<span class="title">Wasmtime</span>
43+
44+
</div>
45+
46+
<div id="search">
47+
48+
<a class="full_list_link" id="class_list_link"
49+
href="class_list.html">
50+
51+
<svg width="24" height="24">
52+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55+
</svg>
56+
</a>
57+
58+
</div>
59+
<div class="clear"></div>
60+
</div>
61+
62+
<div id="content"><h1>Module: Wasmtime
63+
64+
65+
66+
</h1>
67+
<div class="box_info">
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
<dl>
80+
<dt>Defined in:</dt>
81+
<dd>ext/src/ruby_api/mod.rs<span class="defines">,<br />
82+
lib/wasmtime.rb,<br /> lib/wasmtime/error.rb,<br /> lib/wasmtime/version.rb,<br /> lib/wasmtime/component.rb</span>
83+
</dd>
84+
</dl>
85+
86+
</div>
87+
88+
<h2>Defined Under Namespace</h2>
89+
<p class="children">
90+
91+
92+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Wasmtime/Component.html" title="Wasmtime::Component (module)">Component</a></span>
93+
94+
95+
96+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Wasmtime/Caller.html" title="Wasmtime::Caller (class)">Caller</a></span>, <span class='object_link'><a href="Wasmtime/ConversionError.html" title="Wasmtime::ConversionError (class)">ConversionError</a></span>, <span class='object_link'><a href="Wasmtime/Engine.html" title="Wasmtime::Engine (class)">Engine</a></span>, <span class='object_link'><a href="Wasmtime/Error.html" title="Wasmtime::Error (class)">Error</a></span>, <span class='object_link'><a href="Wasmtime/Extern.html" title="Wasmtime::Extern (class)">Extern</a></span>, <span class='object_link'><a href="Wasmtime/Func.html" title="Wasmtime::Func (class)">Func</a></span>, <span class='object_link'><a href="Wasmtime/FuncType.html" title="Wasmtime::FuncType (class)">FuncType</a></span>, <span class='object_link'><a href="Wasmtime/Global.html" title="Wasmtime::Global (class)">Global</a></span>, <span class='object_link'><a href="Wasmtime/Instance.html" title="Wasmtime::Instance (class)">Instance</a></span>, <span class='object_link'><a href="Wasmtime/Linker.html" title="Wasmtime::Linker (class)">Linker</a></span>, <span class='object_link'><a href="Wasmtime/Memory.html" title="Wasmtime::Memory (class)">Memory</a></span>, <span class='object_link'><a href="Wasmtime/Module.html" title="Wasmtime::Module (class)">Module</a></span>, <span class='object_link'><a href="Wasmtime/PoolingAllocationConfig.html" title="Wasmtime::PoolingAllocationConfig (class)">PoolingAllocationConfig</a></span>, <span class='object_link'><a href="Wasmtime/ResultError.html" title="Wasmtime::ResultError (class)">ResultError</a></span>, <span class='object_link'><a href="Wasmtime/Store.html" title="Wasmtime::Store (class)">Store</a></span>, <span class='object_link'><a href="Wasmtime/Table.html" title="Wasmtime::Table (class)">Table</a></span>, <span class='object_link'><a href="Wasmtime/Trap.html" title="Wasmtime::Trap (class)">Trap</a></span>, <span class='object_link'><a href="Wasmtime/WasiConfig.html" title="Wasmtime::WasiConfig (class)">WasiConfig</a></span>, <span class='object_link'><a href="Wasmtime/WasiExit.html" title="Wasmtime::WasiExit (class)">WasiExit</a></span>
97+
98+
99+
</p>
100+
101+
102+
<h2>
103+
Constant Summary
104+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
105+
</h2>
106+
107+
<dl class="constants">
108+
109+
<dt id="VERSION-constant" class="">VERSION =
110+
111+
</dt>
112+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>43.0.1</span><span class='tstring_end'>&quot;</span></span></pre></dd>
113+
114+
</dl>
115+
116+
117+
118+
119+
120+
121+
122+
123+
124+
<h2>
125+
Class Method Summary
126+
<small><a href="#" class="summary_toggle">collapse</a></small>
127+
</h2>
128+
129+
<ul class="summary">
130+
131+
<li class="public ">
132+
<span class="summary_signature">
133+
134+
<a href="#wat2wasm-class_method" title="wat2wasm (class method)">.<strong>wat2wasm</strong>(wat) &#x21d2; String </a>
135+
136+
137+
138+
</span>
139+
140+
141+
142+
143+
144+
145+
146+
147+
148+
<span class="summary_desc"><div class='inline'>
149+
<p>Converts a WAT <code>String</code> into Wasm.</p>
150+
</div></span>
151+
152+
</li>
153+
154+
155+
</ul>
156+
157+
158+
159+
160+
<div id="class_method_details" class="method_details_list">
161+
<h2>Class Method Details</h2>
162+
163+
164+
<div class="method_details first">
165+
<h3 class="signature first" id="wat2wasm-class_method">
166+
167+
.<strong>wat2wasm</strong>(wat) &#x21d2; <tt>String</tt>
168+
169+
170+
171+
172+
173+
</h3><div class="docstring">
174+
<div class="discussion">
175+
176+
<p>Converts a WAT <code>String</code> into Wasm.</p>
177+
178+
179+
</div>
180+
</div>
181+
<div class="tags">
182+
<p class="tag_title">Parameters:</p>
183+
<ul class="param">
184+
185+
<li>
186+
187+
<span class='name'>wat</span>
188+
189+
190+
<span class='type'>(<tt>String</tt>)</span>
191+
192+
193+
194+
</li>
195+
196+
</ul>
197+
198+
<p class="tag_title">Returns:</p>
199+
<ul class="return">
200+
201+
<li>
202+
203+
204+
<span class='type'>(<tt>String</tt>)</span>
205+
206+
207+
208+
&mdash;
209+
<div class='inline'>
210+
<p>The Wasm represented as a binary <code>String</code>.</p>
211+
</div>
212+
213+
</li>
214+
215+
</ul>
216+
217+
</div><table class="source_code">
218+
<tr>
219+
<td>
220+
<pre class="lines">
221+
222+
223+
64
224+
65
225+
66
226+
67
227+
68
228+
69</pre>
229+
</td>
230+
<td>
231+
<pre class="code"><span class="info file"># File 'ext/src/ruby_api/mod.rs', line 64</span>
232+
233+
pub fn wat2wasm(ruby: &amp;Ruby, wat: RString) -&gt; Result&lt;RString, Error&gt; {
234+
wat::parse_str(unsafe { wat.as_str()? })
235+
.map(|bytes| ruby.str_from_slice(bytes.as_slice()))
236+
.map_err(|e| crate::error!(&quot;{}&quot;, e))
237+
}
238+
}</pre>
239+
</td>
240+
</tr>
241+
</table>
242+
</div>
243+
244+
</div>
245+
246+
</div>
247+
248+
<div id="footer">
249+
Generated on Fri Apr 10 17:37:54 2026 by
250+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
251+
0.9.39 (ruby-4.0.2).
252+
</div>
253+
254+
</div>
255+
</body>
256+
</html>

0 commit comments

Comments
 (0)