Merge pull request #1853 from indygreg/build-flags-clone

pyo3-build-config: derive Clone on BuildFlags
This commit is contained in:
David Hewitt 2021-09-01 08:47:36 +01:00 committed by GitHub
commit a8ff8ddab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ impl FromStr for BuildFlag {
///
/// see Misc/SpecialBuilds.txt in the python source for what these mean.
#[cfg_attr(test, derive(Debug, PartialEq))]
#[derive(Default)]
#[derive(Clone, Default)]
pub struct BuildFlags(pub HashSet<BuildFlag>);
impl BuildFlags {