Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@TheDan64
Copy link
Owner

Description

Removed support for LLVM4-7 per removal policy in #529

Related Issue

Closes #576

How This Has Been Tested

cargo t --features llvm18-0

Option<Breaking Changes>

Removed support for LLVM4-7

Checklist

@TheDan64 TheDan64 requested a review from Copilot April 21, 2025 03:36
@TheDan64 TheDan64 self-assigned this Apr 21, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request removes support for LLVM versions 4–7, updating conditional compilation attributes and feature flags throughout the codebase to only support LLVM 8 and later.

  • Removed deprecated conditional blocks for LLVM4-7 in tests and source files
  • Updated attributes and feature flags to reflect LLVM8+ only support
  • Revised Cargo.toml and README documentation to align with the new supported LLVM versions

Reviewed Changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/all/test_module.rs Removed unnecessary conditional blocks for source file name
tests/all/test_debug_info.rs Updated cfg attributes for basic type creation
tests/all/test_builder.rs Removed old LLVM4-7 feature flags from builder tests
src/values/mod.rs, metadata_value.rs, etc. Updated #[llvm_versions(7..)] to #[llvm_versions(8..)] across modules
src/module.rs, src/execution_engine.rs Refactored inline assembly and function pointer handling
Cargo.toml, README.md Removed references to LLVM4-7 and updated version features

@TheDan64 TheDan64 merged commit 68c1d6b into master Apr 25, 2025
26 checks passed
@TheDan64 TheDan64 deleted the version_purge branch April 25, 2025 06:39
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.

Drop support for LLVM4-7

2 participants