Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation of rerun without native_viewer feature #1771

Closed
wants to merge 1 commit into from

Conversation

rasmusgo
Copy link
Contributor

@rasmusgo rasmusgo commented Apr 4, 2023

Fix build with --no-default-features --features sdk. This should have been caught by the CI but wasn't. Is this related to --locked?

Checklist

@emilk emilk changed the title Fix compilation without native_viewer feature Fix compilation of rerun without native_viewer feature Apr 5, 2023
@emilk
Copy link
Member

emilk commented Apr 5, 2023

The problem is the CI is running cargo check --no-default-features --features sdk but should have been running cargo check -p rerun --no-default-features --features sdk. I'll make a separate PR to fix that.

@emilk emilk added the 🧑‍💻 dev experience developer experience (excluding CI) label Apr 5, 2023
}
#[cfg(not(feature = "native_viewer"))]
{
anyhow::bail!("Can't start viewer - rerun was compiled without the 'native_viewer' feature");
Copy link
Member

Choose a reason for hiding this comment

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

I think this is the wrong fix - streaming rrd files from http has nothing to do with the native viewer - we should instead move stream_rrd_from_http_to_channel to some other crate imho

Copy link
Member

Choose a reason for hiding this comment

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

I'll make the fix in #1772

@emilk
Copy link
Member

emilk commented Apr 5, 2023

Thanks for the PR - I'll fix it in #1772

@emilk emilk closed this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants