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

Enable librocksdb-sys to be built by rustc_codegen_cranelift #760

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

ZePedroResende
Copy link
Contributor

When attempting to build librocks-sys using rustc_codegen_cranelift, you encounter a panic error caused by an unwrap function in the build.rs file. The error occurs because the unwrap function is attempting to access the CARGO_CFG_TARGET_FEATURE environment variable, which is not available in the cranelift platform.

This PR adds a condition to check that the env variable actually exists instead of unwrapping it.

@aleksuss aleksuss enabled auto-merge (squash) March 22, 2023 12:22
@ZePedroResende
Copy link
Contributor Author

Hey guys , the CI failed on the MacOS tests , but it doesn't seem related to the changes introduced by this PR.

Can you take a look at it or give me some idea on how to fix it ?

@aleksuss aleksuss merged commit 44dc841 into rust-rocksdb:master Mar 22, 2023
Shylock-Hg pushed a commit to Shylock-Hg/rust-rocksdb that referenced this pull request Mar 29, 2024
…-rocksdb#760)

added next level of output level SST's metadata for compactions

Signed-off-by: hillium <yujuncen@pingcap.com>
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.

None yet

3 participants