skia-bindings 0.99.0

Skia Bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(dead_code)]
use crate::build_support::cargo;
use std::path::PathBuf;

/// Are we running on github?
pub fn is_active() -> bool {
    artifact_staging_directory().is_some()
}

/// Returns the artifact staging directory.
pub fn artifact_staging_directory() -> Option<PathBuf> {
    cargo::env_var("BUILD_ARTIFACTSTAGINGDIRECTORY").map(PathBuf::from)
}