1 // VIRTIO CAN Emulation via vhost-user
3 // Copyright 2023 VIRTUAL OPEN SYSTEMS SAS. All Rights Reserved.
4 // Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
6 // SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
8 #[cfg(target_env = "gnu")]
10 #[cfg(target_env = "gnu")]
12 #[cfg(target_env = "gnu")]
15 #[cfg(target_env = "gnu")]
17 println!("Hello to main vhost-user-can");
21 // Rust vmm container (https://github.com/rust-vmm/rust-vmm-container) doesn't
22 // have tools to do a musl build at the moment, and adding that support is
23 // tricky as well to the container. Skip musl builds until the time pre-built
24 // libgpiod library is available for musl.
25 #[cfg(target_env = "musl")]