Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions architecture/rust/cpal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ pub trait UI<T> {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str);
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
<<includeIntrinsic>>
<<includeclass>>

Expand Down
1 change: 1 addition & 0 deletions architecture/rust/jack-double.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub trait UI<T> {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str);
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
<<includeIntrinsic>>
<<includeclass>>

Expand Down
1 change: 1 addition & 0 deletions architecture/rust/jack-float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub trait UI<T> {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str);
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
<<includeIntrinsic>>
<<includeclass>>

Expand Down
1 change: 1 addition & 0 deletions architecture/rust/minimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ impl<T> UI<T> for PrintUI<T> {
}


#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
<<includeIntrinsic>>
<<includeclass>>

Expand Down
1 change: 1 addition & 0 deletions architecture/rust/portaudio-double.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub trait UI<T> {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str);
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
<<includeIntrinsic>>
<<includeclass>>

Expand Down
1 change: 1 addition & 0 deletions architecture/rust/portaudio-float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub trait UI<T> {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str);
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
<<includeIntrinsic>>
<<includeclass>>

Expand Down
1 change: 0 additions & 1 deletion compiler/generator/rust/rust_code_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ void RustCodeContainer::produceClass()
fCodeProducer.setVarsRequiringGuards(toUnorderedSet(fStaticVarNames));

int n = 0;
*fOut << "#[cfg_attr(feature = \"default-boxed\", derive(default_boxed::DefaultBoxed))]";
if (gGlobal->gReprC) {
tab(n, *fOut);
*fOut << "#[repr(C)]";
Expand Down
1 change: 1 addition & 0 deletions tests/impulse-tests/archs/rust/architecture_cm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ impl<T: Float + FromPrimitive> UI<T> for ButtonUI {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str) {}
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
// Generated intrinsics:
<<includeIntrinsic>>

Expand Down
1 change: 1 addition & 0 deletions tests/impulse-tests/archs/rust/architecture_ecrnt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ impl<T: Float + FromPrimitive> UI<T> for ButtonUI {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str) {}
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
// Generated intrinsics:
<<includeIntrinsic>>

Expand Down
1 change: 1 addition & 0 deletions tests/impulse-tests/archs/rust/architecture_inpl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ impl<T: Float + FromPrimitive> UI<T> for ButtonUI {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str) {}
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
// Generated intrinsics:
<<includeIntrinsic>>

Expand Down
1 change: 1 addition & 0 deletions tests/impulse-tests/archs/rust/architecture_osecrnt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl<T: Float + FromPrimitive> UI<T> for ButtonUI {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str) {}
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
// Generated intrinsics:
<<includeIntrinsic>>

Expand Down
1 change: 1 addition & 0 deletions tests/impulse-tests/archs/rust/architecture_osrnt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl<T: Float + FromPrimitive> UI<T> for ButtonUI {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str) {}
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
// Generated intrinsics:
<<includeIntrinsic>>

Expand Down
1 change: 1 addition & 0 deletions tests/impulse-tests/archs/rust/architecture_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ impl<T: Float + FromPrimitive> UI<T> for ButtonUI {
fn declare(&mut self, param: Option<ParamIndex>, key: &str, value: &str) {}
}

#[cfg_attr(feature = "default-boxed", derive(default_boxed::DefaultBoxed))]
// Generated intrinsics:
<<includeIntrinsic>>

Expand Down
3 changes: 2 additions & 1 deletion tools/faust2appls/faust2cpalrust
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /bin/bash -e
#! /usr/bin/env bash
set -e

#####################################################################
# #
Expand Down
3 changes: 2 additions & 1 deletion tools/faust2appls/faust2jackrust
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /bin/bash -e
#! /usr/bin/env bash
set -e

#####################################################################
# #
Expand Down
3 changes: 2 additions & 1 deletion tools/faust2appls/faust2portaudiorust
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /bin/bash -e
#! /usr/bin/env bash
set -e

#####################################################################
# #
Expand Down