<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/meson.git/docs/markdown/Rust-module.md, branch xcodeobjc</title>
<subtitle>github.com: mesonbuild/meson.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/'/>
<entry>
<title>rust: Add a module wrapper for bindgen</title>
<updated>2021-02-06T18:27:04+00:00</updated>
<author>
<name>Dylan Baker</name>
<email>dylan@pnwbakers.com</email>
</author>
<published>2021-01-06T19:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=b28235428df69ba0a90a8f7c0f26db8527ec68a7'/>
<id>b28235428df69ba0a90a8f7c0f26db8527ec68a7</id>
<content type='text'>
This has a couple of advantages over rolling it by hand:
1. it correctly handles include_directories objects, which is always
   handy
2. it correctly generates a depfile for you, which makes it more
   reliable
3. it requires less typing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has a couple of advantages over rolling it by hand:
1. it correctly handles include_directories objects, which is always
   handy
2. it correctly generates a depfile for you, which makes it more
   reliable
3. it requires less typing
</pre>
</div>
</content>
</entry>
<entry>
<title>Capitalize "Meson" consistently as it is a proper name. [skip ci]</title>
<updated>2021-01-31T19:49:20+00:00</updated>
<author>
<name>Jussi Pakkanen</name>
<email>jpakkane@gmail.com</email>
</author>
<published>2021-01-31T16:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=474f4813c477c30bed842baa706170e5e902838c'/>
<id>474f4813c477c30bed842baa706170e5e902838c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrap long text lines in docs. [skip ci]</title>
<updated>2021-01-30T16:19:59+00:00</updated>
<author>
<name>Jussi Pakkanen</name>
<email>jpakkane@gmail.com</email>
</author>
<published>2021-01-30T11:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=f72ee8e742a171db74ed32b54b85953b8dfe1d77'/>
<id>f72ee8e742a171db74ed32b54b85953b8dfe1d77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>modules: Add an unstable-rust module</title>
<updated>2021-01-05T23:10:50+00:00</updated>
<author>
<name>Dylan Baker</name>
<email>dylan@pnwbakers.com</email>
</author>
<published>2020-10-21T23:07:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=3d80a88bd3c3dc8f9e20bbda485b0b436fd79fb3'/>
<id>3d80a88bd3c3dc8f9e20bbda485b0b436fd79fb3</id>
<content type='text'>
Like other language specific modules this module is module for holding
rust specific helpers. This commit adds a test() function, which
simplifies using rust's internal unittest mechanism.

Rust tests are generally placed in the same code files as they are
testing, in contrast to languages like C/C++ and python which generally
place the tests in separate translation units. For meson this is
somewhat problematic from a repetition point of view, as the only
changes are generally adding --test, and possibly some dependencies.

The rustmod.test() method provides a mechanism to remove the repatition:
it takes a rust target, copies it, and then addes the `--test` option,
then creates a Test() target with the `rust` protocol. You can pass
additional dependencies via the `dependencies` keyword. This all makes
for a nice, DRY, test definition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like other language specific modules this module is module for holding
rust specific helpers. This commit adds a test() function, which
simplifies using rust's internal unittest mechanism.

Rust tests are generally placed in the same code files as they are
testing, in contrast to languages like C/C++ and python which generally
place the tests in separate translation units. For meson this is
somewhat problematic from a repetition point of view, as the only
changes are generally adding --test, and possibly some dependencies.

The rustmod.test() method provides a mechanism to remove the repatition:
it takes a rust target, copies it, and then addes the `--test` option,
then creates a Test() target with the `rust` protocol. You can pass
additional dependencies via the `dependencies` keyword. This all makes
for a nice, DRY, test definition.
</pre>
</div>
</content>
</entry>
</feed>
