diff options
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/cython-c++-intermediate.md | 22 | ||||
-rw-r--r-- | docs/markdown/snippets/iconv-dependency.md | 8 | ||||
-rw-r--r-- | docs/markdown/snippets/rust-clippy-driver-support.md | 6 | ||||
-rw-r--r-- | docs/markdown/snippets/rustc-improvements.md | 6 | ||||
-rw-r--r-- | docs/markdown/snippets/str_join.md | 5 |
5 files changed, 47 insertions, 0 deletions
diff --git a/docs/markdown/snippets/cython-c++-intermediate.md b/docs/markdown/snippets/cython-c++-intermediate.md new file mode 100644 index 0000000..0a1c35f --- /dev/null +++ b/docs/markdown/snippets/cython-c++-intermediate.md @@ -0,0 +1,22 @@ +## Cython can now transpile to C++ as an intermediate language + +Built-in cython support currently only allows C as an intermediate language, now +C++ is also allowed. This can be set via the `cython_language` option, either on +the command line, or in the meson.build files. + +```meson +project( + 'myproject', + 'cython', + default_options : ['cython_language=cpp'], +) +``` + +or on a per target basis with: +```meson +python.extension_module( + 'mod', + 'mod.pyx', + override_options : ['cython_language=cpp'], +) +``` diff --git a/docs/markdown/snippets/iconv-dependency.md b/docs/markdown/snippets/iconv-dependency.md new file mode 100644 index 0000000..21a2985 --- /dev/null +++ b/docs/markdown/snippets/iconv-dependency.md @@ -0,0 +1,8 @@ +## New custom dependency for iconv + +``` +dependency('iconv') +``` + +will now check for the functionality of libiconv.so, but first check if it is +provided in the libc (for example in glibc or musl libc on Linux). diff --git a/docs/markdown/snippets/rust-clippy-driver-support.md b/docs/markdown/snippets/rust-clippy-driver-support.md new file mode 100644 index 0000000..c486473 --- /dev/null +++ b/docs/markdown/snippets/rust-clippy-driver-support.md @@ -0,0 +1,6 @@ +## Support for clippy-driver as a rustc wrapper + +Clippy is a popular linting tool for Rust, and is invoked in place of rustc as a +wrapper. Unfortunately it doesn't proxy rustc's output, so we need to have a +small wrapper around it so that Meson can correctly detect the underlying rustc, +but still display clippy diff --git a/docs/markdown/snippets/rustc-improvements.md b/docs/markdown/snippets/rustc-improvements.md new file mode 100644 index 0000000..869888c --- /dev/null +++ b/docs/markdown/snippets/rustc-improvements.md @@ -0,0 +1,6 @@ +## Improvements for the Rustc compiler + +- Werror now works, this set's `-D warnings`, which will cause rustc to error + for every warning not explicitly disabled +- warning levels have been implemented +- support for meson's pic has been enabled diff --git a/docs/markdown/snippets/str_join.md b/docs/markdown/snippets/str_join.md new file mode 100644 index 0000000..b430d66 --- /dev/null +++ b/docs/markdown/snippets/str_join.md @@ -0,0 +1,5 @@ +## Relax restrictions of `str.join()` + +Since 0.60.0, the [[str.join]] method can take an arbitrary number of arguments +instead of just one list. Additionally, all lists past to [[str.join]] will now +be flattened. |