-
-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
I'd like to use Bastion for my android project, but stumbled upon a problem.
When compiling with --target aarch64-linux-android then this code in src/placement.rs generates the stub only.
#[cfg(target_os = "linux")]
#[inline]
fn get_core_ids_helper() -> Option<Vec<CoreId>> {
linux::get_core_ids()
}
What i would like is this:
#[cfg(any(target_os = "linux", target_os="android"))]
Not sure how many other places that are affected by this. There is a way to manually set the --cfg target_os in rustc, but it feels more cumbersome and not the correct way.
Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.
Describe the solution you'd like
Please describe the desired behavior.
Describe alternatives you've considered
Please describe alternative solutions or features you have considered.
maxervo
Metadata
Metadata
Assignees
Labels
No labels