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

implement rust ExternalLibrary #5683

Closed
wants to merge 1 commit into from
Closed

Conversation

rbran
Copy link
Contributor

@rbran rbran commented Jul 3, 2024

No description provided.

}

/// Get the ExternalLibrary that this ExternalLocation targets
pub fn library(&self) -> ExternalLibrary {
Copy link
Member

Choose a reason for hiding this comment

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

This should return Option<ExternalLibrary>

}

/// Get the file backing this external library
pub fn backing_file(&self) -> ProjectFile {
Copy link
Member

Choose a reason for hiding this comment

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

This should return Option<ProjectFile>

}

/// Remove the symbol pointed to by this ExternalLocation.
pub fn remove_target_symbol(&self) -> bool {
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed and set_target_symbol should take an Option<S>

}

/// Set the file backing this external library
pub fn set_backing_file(&self, file: &ProjectFile) {
Copy link
Member

Choose a reason for hiding this comment

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

file should be Option<&ProjectFile>

@negasora
Copy link
Member

negasora commented Jul 8, 2024

Merged in f90f851, thank you!

@negasora negasora closed this Jul 8, 2024
@rbran rbran deleted the impl-external-l branch July 9, 2024 16:49
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