Skip to content

Commit

Permalink
update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Oct 27, 2024
1 parent 6df406f commit a9d00d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
12 changes: 9 additions & 3 deletions tests/testthat/_snaps/use_cran_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
v Writing 'src/Makevars.win'
v Writing 'src/Makevars.ucrt'
v Writing 'src/.gitignore'
v Adding "^src/\\.cargo$" to '.Rbuildignore'.
v Adding '^src/\\.cargo$' to '.Rbuildignore'
v Writing 'src/rust/Cargo.toml'
v Writing 'src/rust/src/lib.rs'
v Writing 'src/testpkg-win.def'
Expand All @@ -30,8 +30,8 @@
v Writing 'configure.win'
> File 'src/Makevars' already exists. Skip writing the file.
> File 'src/Makevars.win' already exists. Skip writing the file.
v Adding "^src/rust/vendor$" to '.Rbuildignore'.
v Adding "src/rust/vendor" to '.gitignore'.
v Adding '^src/rust/vendor$' to '.Rbuildignore'
v Adding 'src/rust/vendor' to '.gitignore'

---

Expand All @@ -43,6 +43,9 @@
STATLIB = $(LIBDIR)/libtestpkg.a
PKG_LIBS = -L$(LIBDIR) -ltestpkg
# Print linked static libraries at compile time
export RUSTFLAGS=--print=native-static-libs
all: C_clean
$(SHLIB): $(STATLIB)
Expand Down Expand Up @@ -81,6 +84,9 @@
STATLIB = $(LIBDIR)/libtestpkg.a
PKG_LIBS = -L$(LIBDIR) -ltestpkg -lws2_32 -ladvapi32 -luserenv -lbcrypt -lntdll
# Print linked static libraries at compile time
export RUSTFLAGS=--print=native-static-libs
all: C_clean
$(SHLIB): $(STATLIB)
Expand Down
11 changes: 10 additions & 1 deletion tests/testthat/_snaps/use_extendr.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
v Writing 'src/Makevars.win'
v Writing 'src/Makevars.ucrt'
v Writing 'src/.gitignore'
v Adding "^src/\\.cargo$" to '.Rbuildignore'.
v Adding '^src/\\.cargo$' to '.Rbuildignore'
v Writing 'src/rust/Cargo.toml'
v Writing 'src/rust/src/lib.rs'
v Writing 'src/testpkg-win.def'
Expand Down Expand Up @@ -48,6 +48,9 @@
STATLIB = $(LIBDIR)/libtestpkg.a
PKG_LIBS = -L$(LIBDIR) -ltestpkg
# Print linked static libraries at compile time
export RUSTFLAGS=--print=native-static-libs
all: C_clean
$(SHLIB): $(STATLIB)
Expand Down Expand Up @@ -86,6 +89,9 @@
STATLIB = $(LIBDIR)/libtestpkg.a
PKG_LIBS = -L$(LIBDIR) -ltestpkg -lws2_32 -ladvapi32 -luserenv -lbcrypt -lntdll
# Print linked static libraries at compile time
export RUSTFLAGS=--print=native-static-libs
all: C_clean
$(SHLIB): $(STATLIB)
Expand Down Expand Up @@ -260,6 +266,9 @@
STATLIB = $(LIBDIR)/libbar.a
PKG_LIBS = -L$(LIBDIR) -lbar
# Print linked static libraries at compile time
export RUSTFLAGS=--print=native-static-libs
all: C_clean
$(SHLIB): $(STATLIB)
Expand Down

0 comments on commit a9d00d8

Please sign in to comment.