forked from M-Labs/artiq
1
0
Fork 0

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:
whitequark 2016-11-08 12:57:06 +00:00
parent e0297039c9
commit a8fd697d41
1 changed files with 5 additions and 5 deletions

View File

@ -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),