Skip to content

Fix compilation of rerun without native_viewer feature#1771

Closed
rasmusgo wants to merge 1 commit intorerun-io:mainfrom
rasmusgo:rasmusgo/sdk-without-viewer
Closed

Fix compilation of rerun without native_viewer feature#1771
rasmusgo wants to merge 1 commit intorerun-io:mainfrom
rasmusgo:rasmusgo/sdk-without-viewer

Conversation

@rasmusgo
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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