mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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_data),
|
||||
|
||||
#[cfg(rtio_dds_count)]
|
||||
#[cfg(has_rtio_dds_count)]
|
||||
api!(dds_init),
|
||||
#[cfg(rtio_dds_count)]
|
||||
#[cfg(has_rtio_dds_count)]
|
||||
api!(dds_init_sync),
|
||||
#[cfg(rtio_dds_count)]
|
||||
#[cfg(has_rtio_dds_count)]
|
||||
api!(dds_batch_enter),
|
||||
#[cfg(rtio_dds_count)]
|
||||
#[cfg(has_rtio_dds_count)]
|
||||
api!(dds_batch_exit),
|
||||
#[cfg(rtio_dds_count)]
|
||||
#[cfg(has_rtio_dds_count)]
|
||||
api!(dds_set),
|
||||
|
||||
api!(i2c_init),
|
||||
|
Loading…
Reference in New Issue
Block a user