diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-03-02 11:05:41 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-03-02 11:05:41 +0530 |
commit | 7f231c2d8a8d7f8cae4225e12baf9c33f07a3af9 (patch) | |
tree | 5772457ac0742450bb78f6d7bca02683ff8b5024 /meson_options.txt | |
parent | c67034c5291bf43112d1764cc7c43f6e0ded07d6 (diff) | |
download | gstreamer-7f231c2d8a8d7f8cae4225e12baf9c33f07a3af9.tar.gz |
Disable rust feature option by default
The only requirement for the rust plugins is that a rust toolchain be
present on the system. This is problematic:
1. This means gst-build on Windows is broken by default if you have
a Rust toolchain, since glib can't be used uninstalled
2. No output is printed on Windows at all while the rust plugins are
being built. `custom_target()`'s `console:` keyword argument seems
to be broken on some Windows shells.
3. Even on Linux/macOS having this enabled by default is problematic
since it more than doubles the total build time.
4. The biggest issue with having it enabled by default is that it does
not dependency tracking, so we always run `cargo`, which might
update crates. This increases friction when you're working on
unrelated code.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt index b7b7440879..686c67556f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -11,7 +11,7 @@ option('vaapi', type : 'feature', value : 'auto') option('sharp', type : 'feature', value : 'disabled') option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names') option('gst-examples', type : 'feature', value : 'auto', description : 'Build gst-examples') -option('rs', type : 'feature', value : 'auto') +option('rs', type : 'feature', value : 'disabled') # Common options, automatically inherited by subprojects option('examples', type : 'feature', value : 'auto', description : 'Build examples') |