Skip to content

Commit

Permalink
use netstandard 2.0 per recommendations
Browse files Browse the repository at this point in the history
seems that now the recommended starting point is 2.0 and not lower.
  • Loading branch information
NikolajBjorner committed Dec 25, 2021
1 parent 6b0dc6d commit 7d311ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/mk_nuget_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def unpack(packages, symbols):
mk_dir(f"out/runtimes/{dst}/native")
replace(f"{tmp}/{package_dir}/bin/libz3.{ext}", f"out/runtimes/{dst}/native/libz3.{ext}")
if "x64-win" in f:
mk_dir("out/lib/netstandard1.4/")
mk_dir("out/lib/netstandard2.0/")
if symbols:
zip_ref.extract(f"{package_dir}/bin/libz3.pdb", f"{tmp}")
replace(f"{tmp}/{package_dir}/bin/libz3.pdb", f"out/runtimes/{dst}/native/libz3.pdb")
Expand All @@ -74,7 +74,7 @@ def unpack(packages, symbols):
files += ["Microsoft.Z3.pdb", "Microsoft.Z3.xml"]
for b in files:
zip_ref.extract(f"{package_dir}/bin/{b}", f"{tmp}")
replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard1.4/{b}")
replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard2.0/{b}")

def mk_targets(source_root):
mk_dir("out/build")
Expand Down Expand Up @@ -107,7 +107,7 @@ def create_nuget_spec(version, repo, branch, commit, symbols):
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<language>en</language>
<dependencies>
<group targetFramework=".NETStandard1.4" />
<group targetFramework=".netstandard2.0" />
</dependencies>
</metadata>
</package>""".format(version, repo, branch, commit)
Expand Down
2 changes: 1 addition & 1 deletion src/sat/smt/fpa_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ namespace fpa {
expr* xe = e_x->get_expr();
expr* ye = e_y->get_expr();

if (m_fpa_util.is_bvwrap(xe) || m_fpa_util.is_bvwrap(ye))
if (fu.is_bvwrap(xe) || fu.is_bvwrap(ye))
return;

expr_ref xc = convert(xe);
Expand Down

0 comments on commit 7d311ac

Please sign in to comment.