Disable doc tests that load vulkan

AppVeyor doesn't have the a driver installed.
This commit is contained in:
Aaron Loucks 2019-03-15 19:00:51 -04:00
parent adb194891f
commit e4bcda2fec
2 changed files with 3 additions and 3 deletions

View file

@ -194,7 +194,7 @@ pub trait EntryV1_1: EntryV1_0 {
} }
impl EntryCustom<Arc<DynamicLibrary>> { impl EntryCustom<Arc<DynamicLibrary>> {
/// ```rust /// ```rust,no_run
/// # #[macro_use] /// # #[macro_use]
/// # extern crate ash; /// # extern crate ash;
/// use ash::{vk, Entry, version::EntryV1_0}; /// use ash::{vk, Entry, version::EntryV1_0};
@ -253,7 +253,7 @@ impl<L> EntryCustom<L> {
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceVersion.html>"] #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceVersion.html>"]
/// ```rust /// ```rust,no_run
/// # #[macro_use] /// # #[macro_use]
/// # extern crate ash; /// # extern crate ash;
/// # use ash::Entry; /// # use ash::Entry;

View file

@ -4,7 +4,7 @@
//! //!
//! ## Examples //! ## Examples
//! //!
//! ```rust //! ```rust,no_run
//! # #[macro_use] //! # #[macro_use]
//! # extern crate ash; //! # extern crate ash;
//! use ash::{vk, Entry, version::EntryV1_0}; //! use ash::{vk, Entry, version::EntryV1_0};