Skip to content

Disable C++ shim compilation on docs.rs - #29

Open
szymon-zadworny wants to merge 1 commit into
oneapi-src:mainfrom
szymon-zadworny:cargo-doc
Open

Disable C++ shim compilation on docs.rs#29
szymon-zadworny wants to merge 1 commit into
oneapi-src:mainfrom
szymon-zadworny:cargo-doc

Conversation

@szymon-zadworny

Copy link
Copy Markdown
Contributor

This enables docs.rs publishing support

Comment thread oneapi-rs-sys/build.rs
use which::which;

fn main() {
if std::env::var("DOCS_RS").is_ok() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please add a comment why we are doing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants