forked from M-Labs/artiq
runtime: unbreak 453e8b7
.
Running rustc --cfg 'foo="1"' does not result in a statement of the form do_thing() to be compilex in.
This commit is contained in:
parent
e0297039c9
commit
a8fd697d41
|
@ -105,15 +105,15 @@ static mut API: &'static [(&'static str, *const ())] = &[
|
||||||
api!(rtio_input_timestamp),
|
api!(rtio_input_timestamp),
|
||||||
api!(rtio_input_data),
|
api!(rtio_input_data),
|
||||||
|
|
||||||
#[cfg(rtio_dds_count)]
|
#[cfg(has_rtio_dds_count)]
|
||||||
api!(dds_init),
|
api!(dds_init),
|
||||||
#[cfg(rtio_dds_count)]
|
#[cfg(has_rtio_dds_count)]
|
||||||
api!(dds_init_sync),
|
api!(dds_init_sync),
|
||||||
#[cfg(rtio_dds_count)]
|
#[cfg(has_rtio_dds_count)]
|
||||||
api!(dds_batch_enter),
|
api!(dds_batch_enter),
|
||||||
#[cfg(rtio_dds_count)]
|
#[cfg(has_rtio_dds_count)]
|
||||||
api!(dds_batch_exit),
|
api!(dds_batch_exit),
|
||||||
#[cfg(rtio_dds_count)]
|
#[cfg(has_rtio_dds_count)]
|
||||||
api!(dds_set),
|
api!(dds_set),
|
||||||
|
|
||||||
api!(i2c_init),
|
api!(i2c_init),
|
||||||
|
|
Loading…
Reference in New Issue